/* Nutrizione Naturale — foglio di stile */
:root {
  --sage: #8FB3A9;
  --sage-d: #234A45;
  --forest: #2F5D57;
  --ink: #1F2A2E;
  --text: rgba(31, 42, 46, .78);
  --cream: #F5F7F7;
  --cream-l: #FAFBFB;
  --white: #fff;
  --line: #E3E8E9;
  --gold: #A5834E;
  --brown: #7A5F33;
  --radius: 20px;
  --shadow: 0 22px 50px -30px rgba(31, 42, 46, .35);
  --font-body: 'Jost', system-ui, sans-serif;
  --font-head: 'Fraunces', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --header-h: 92px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.75; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown); }
strong { font-weight: 500; color: var(--ink); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); letter-spacing: -.5px; line-height: 1.08; }
h2, .h2-like { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.3; }
p { margin: 0 0 1.15em; }
ul, ol { padding: 0; margin: 0; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 40px); }
.center { text-align: center; }
.mt { margin-top: 2.4rem; }
.muted { color: rgba(31, 42, 46, .72); }
.small { font-size: .92rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--text); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
.eyebrow { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown); margin: 0 0 1.1rem; }
.script { font-family: var(--font-script); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--gold); margin: .2em 0 .9em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.05rem 2.1rem; border-radius: 50px; background: var(--forest); color: var(--cream-l); font-family: var(--font-body); font-weight: 500; font-size: .875rem; letter-spacing: 1px; text-decoration: none; border: 1px solid var(--forest); cursor: pointer; transition: background .25s, color .25s, transform .25s, box-shadow .25s; line-height: 1.2; }
.btn:hover { background: var(--sage-d); border-color: var(--sage-d); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(47, 93, 87, .7); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); border-color: var(--forest); color: var(--cream-l); }
.btn-light { background: var(--cream-l); color: var(--forest); border-color: var(--cream-l); }
.btn-light:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn-outline-light { background: transparent; color: var(--cream-l); border-color: rgba(250, 251, 251, .6); }
.btn-outline-light:hover { background: var(--cream-l); color: var(--forest); border-color: var(--cream-l); }
.btn-small { padding: .7rem 1.3rem; font-size: .8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.center .btn-row, .center.btn-row { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .92rem; letter-spacing: .5px; text-decoration: none; color: var(--forest); }
.text-link:hover { color: var(--brown); gap: .65rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(31, 42, 46, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 68px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 400; }
.brand-text small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; list-style: none; gap: .1rem; }
.site-nav ul a { display: block; padding: .5rem .85rem; font-weight: 400; font-size: .9375rem; color: var(--ink); text-decoration: none; position: relative; transition: color .2s; }
.site-nav ul a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.site-nav ul a:hover { color: var(--brown); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.site-nav ul a[aria-current] { color: var(--forest); font-weight: 500; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 50%; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* sezioni */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--forest); color: rgba(250, 251, 251, .88); }
.section-dark h2 { color: var(--cream-l); }
.section-head { max-width: 720px; margin: 0 auto 3.2rem; }
.section-head.center p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.page-hero { background: var(--cream); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero.compact { padding: 3rem 0 1.5rem; }
.page-hero h1 { margin-bottom: .4em; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }
.about-hero { align-items: center; }
.portrait { aspect-ratio: 4 / 5; max-height: 560px; object-position: center 20%; border-radius: 999px 999px var(--radius) var(--radius); }

/* hero (testo centrato come l'originale, foto ad arco) */
.hero { background: var(--cream); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { text-align: center; }
.hero-copy .lead { max-width: 520px; margin-inline: auto; font-weight: 300; }
.hero-copy .btn-row { justify-content: center; }
.hero-media { position: relative; margin: 0; max-width: 470px; justify-self: center; width: 100%; }
.hero-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold); border-radius: 999px 999px var(--radius) var(--radius); z-index: -1; opacity: .55; }
.arch-wrap { max-width: 560px; margin: 0 auto 2.6rem; }
.arch-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 999px 999px 0 0; }

/* metodo: righe numerate */
.steps { list-style: none; max-width: 900px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid rgba(122, 95, 51, .28); align-items: start; }
.step:last-child { border-bottom: 1px solid rgba(122, 95, 51, .28); }
.step-n { font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: clamp(3rem, 6vw, 4.4rem); line-height: .9; color: var(--gold); }
.step h3 { margin-bottom: .5rem; font-size: 1.45rem; }
.step p { margin: 0; max-width: 640px; }

/* a chi è rivolto */
.audience { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 960px; margin: 0 auto; }
.audience li { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.5rem; background: var(--cream-l); border: 1px solid var(--line); border-radius: 18px; line-height: 1.45; color: var(--ink); transition: transform .3s, box-shadow .3s, background .3s; }
.audience li:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.audience li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tick { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--sage-d); }
.tick svg { width: 22px; height: 22px; }

/* card servizi home */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.card:hover { color: var(--text); }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.3rem .2rem 0; }
.card-body h3 { margin-bottom: .4rem; font-size: 1.3rem; }
.card-body p { margin: 0; font-size: 1rem; }

/* pagina servizi */
.group-head { display: flex; gap: 1.6rem; align-items: flex-start; max-width: 760px; margin-bottom: 2.4rem; }
.group-n { font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: 3.6rem; line-height: .9; color: var(--gold); }
.group-head h2 { margin-bottom: .3rem; }
.group-head p { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; transition: transform .3s, box-shadow .3s, border-color .3s; }
.section-cream .service { background: #fff; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage); }
.service-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--sage-d); margin-bottom: 1.2rem; }
.service h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.service p { margin: 0; font-size: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.value { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.value p { margin: 0; }

/* CTA band */
.cta-band h2 { margin-bottom: .5em; }
.cta-band p { font-size: 1.15rem; max-width: 560px; margin-inline: auto; }

/* instagram: schede con anteprima, sempre visibili */
.ig-wrap { position: relative; }
.ig-track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-card { flex: 0 0 min(280px, 72vw); scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.ig-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.ig-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.ig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ig-card:hover .ig-media img { transform: scale(1.05); }
.ig-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sage); }
.ig-ph svg { width: 56px; height: 56px; }
.ig-type { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(31, 42, 46, .55); backdrop-filter: blur(4px); color: #fff; display: grid; place-items: center; }
.ig-type svg { width: 17px; height: 17px; }
.ig-cap { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.3rem; }
.ig-cap strong { font-family: var(--font-head); font-weight: 400; font-size: 1.12rem; line-height: 1.3; }
.ig-cap span { font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-nav { position: absolute; top: 38%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--forest); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.ig-nav:hover { background: var(--forest); color: #fff; }
.ig-prev { left: -14px; transform: rotate(180deg); }
.ig-next { right: -14px; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(122, 95, 51, .28); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.8rem; font-weight: 200; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 3rem 1.4rem 0; margin: 0; }

/* contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--cream-l); text-decoration: none; color: var(--ink); font-weight: 400; transition: transform .25s, box-shadow .25s, background .25s; }
.contact-card:hover { transform: translateX(4px); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.contact-card svg { flex: none; color: var(--sage-d); width: 24px; height: 24px; }
.contact-card small { display: block; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brown); font-weight: 600; }
.map-embed, .cal-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.map-embed iframe, .cal-embed iframe { width: 100%; border: 0; display: block; }
.gate-fallback { padding: 2.2rem 1.6rem; text-align: center; min-height: 220px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .4rem; }
.gate-fallback p { margin: 0 0 .5rem; max-width: 420px; }
.form { display: grid; gap: 1.1rem; background: var(--cream-l); padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: var(--radius); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-weight: 500; font-size: .95rem; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { font: inherit; font-weight: 300; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sage-d); box-shadow: 0 0 0 4px rgba(143, 179, 169, .25); }
.form [aria-invalid="true"] { border-color: #b3402f; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 300; font-size: .95rem; }
.form .check input { margin-top: .4rem; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: .9rem 1.1rem; border-radius: 14px; font-weight: 400; }
.form-msg.ok { background: #e4efdc; color: #2f4a22; }
.form-msg.err { background: #f6e1dc; color: #7b2a1c; }

/* blog */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }
.filters a { padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 400; font-size: .9rem; letter-spacing: .3px; color: var(--ink); transition: all .2s; }
.filters a:hover, .filters a[aria-current] { background: var(--forest); border-color: var(--forest); color: var(--cream-l); }
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: 4rem; background: var(--cream); border-radius: 28px; overflow: hidden; }
.featured-img { display: block; height: 100%; min-height: 360px; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.featured:hover .featured-img img { transform: scale(1.04); }
.featured-body { padding: clamp(1.6rem, 4vw, 3rem) clamp(1.6rem, 4vw, 3rem) clamp(1.6rem, 4vw, 3rem) 0; }
.featured-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.featured-body h2 a { color: var(--ink); text-decoration: none; }
.featured-body h2 a:hover { color: var(--brown); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.8rem; }
.post-card { display: flex; flex-direction: column; }
.post-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 1.3rem .2rem 0; display: flex; flex-direction: column; flex: 1; }
.post-body h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.post-body h2 a { color: var(--ink); text-decoration: none; }
.post-body h2 a:hover { color: var(--brown); }
.post-body > p:not([class]) { font-size: 1rem; flex: 1; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .8rem; color: rgba(31, 42, 46, .72); margin-bottom: .7rem; }
.post-cat { font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--brown); text-decoration: none; font-size: .72rem; }
.post-foot { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: .88rem; color: rgba(31, 42, 46, .72); }
.featured .post-foot { justify-content: flex-start; margin-bottom: 1.4rem; }
.post-head { padding-top: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.post-meta { color: rgba(31, 42, 46, .72); font-size: .95rem; }
.post-meta a { color: var(--brown); font-weight: 500; text-decoration: none; }
.post-author { font-family: var(--font-script); font-style: italic; font-weight: 600; font-size: 1.5rem; color: var(--gold); }
.post-author a { color: inherit; text-decoration: none; }
.back { font-weight: 500; font-size: .92rem; letter-spacing: .5px; text-decoration: none; }
.post-figure { width: min(980px, 100% - 40px); margin: 2rem auto 3rem; }
.post-figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.125rem; line-height: 1.85; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin-top: 2.4rem; }
.prose ul { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.6rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); font-weight: 400; color: var(--ink); }
.post-nav { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem 0 4rem; font-family: var(--font-head); font-size: 1.05rem; }
.post-nav a { text-decoration: none; max-width: 45%; }

/* footer */
.site-footer { background: #1F2A2E; color: rgba(250, 251, 251, .75); padding: 4rem 0 0; font-size: 1rem; }
.site-footer a { color: var(--cream-l); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr; gap: 2.5rem; padding-bottom: 3rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer img { filter: invert(1) brightness(1.2); width: 54px; }
.brand-footer .brand-text small { color: var(--sage); }
.footer-claim { max-width: 300px; margin: 0; }
.footer-h { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-links { list-style: none; line-height: 2; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: background .2s; }
.footer-social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .linklike { color: var(--cream-l); }

/* WhatsApp (stile del pulsante originale) */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; font-family: var(--font-body); }
.wa-fab-wrap { display: flex; align-items: center; gap: 10px; }
.wa-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); transition: transform .25s, box-shadow .25s; padding: 0; }
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.wa-fab svg { width: 34px; height: 34px; }
.wa-tip { background: #fff; color: #4a4a4a; font-size: .9rem; padding: .55rem .9rem; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; font-weight: 400; }
.wa-fab-wrap:hover .wa-tip { opacity: 1; transform: none; }
.wa-panel { width: min(340px, calc(100vw - 40px)); background: #e6ddd4; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.wa-panel[hidden] { display: none; }
.wa-head { display: flex; align-items: center; justify-content: space-between; background: #2a2a2a; color: #fff; padding: 1.1rem 1.3rem; font-size: 1.05rem; font-weight: 500; }
.wa-close { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; position: relative; opacity: .8; }
.wa-close:hover { opacity: 1; }
.wa-close::before, .wa-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.wa-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.wa-body { padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: 1rem; }
.wa-bubble { background: #fff; padding: .85rem 1.1rem; border-radius: 0 16px 16px 16px; margin: 0; font-size: .95rem; line-height: 1.5; color: #4a4a4a; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); font-weight: 400; }
.wa-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; line-height: 1.45; color: #4a4a4a; font-weight: 400; }
.wa-consent a { color: #4a4a4a; }
.wa-consent input { margin-top: .2rem; accent-color: #25d366; }
.wa-open { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; background: #25d366; color: #fff; text-decoration: none; padding: .35rem .5rem .35rem 1.3rem; border-radius: 30px; font-weight: 500; font-size: 1rem; transition: filter .2s, opacity .2s; }
.wa-open:hover { color: #fff; filter: brightness(1.08); }
.wa-open.disabled { opacity: .5; pointer-events: none; }

/* cookie */
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 120; width: min(440px, calc(100vw - 36px)); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.5rem; box-shadow: 0 25px 60px -15px rgba(0, 0, 0, .35); }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.cookie p { font-size: .95rem; line-height: 1.55; margin-bottom: .9rem; }
.cookie-prefs { display: grid; gap: .6rem; margin-bottom: 1rem; }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs label { display: flex; gap: .6rem; font-size: .92rem; align-items: flex-start; }
.cookie-prefs input { accent-color: var(--forest); margin-top: .25rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { padding: .7rem 1.2rem; font-size: .82rem; }
.cookie-actions [hidden] { display: none; }

/* animazioni */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* responsive */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .post-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-flex; }
  /* menu a tutto schermo, sfondo verde, voci centrate in bianco */
  .site-nav { position: fixed; inset: 0; z-index: 1; background: var(--forest); flex-direction: column; align-items: center; justify-content: center; padding: 6rem 24px 3rem; gap: 2rem; overflow-y: auto; display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: center; text-align: center; gap: .3rem; }
  .site-nav ul a { padding: .55rem 1rem; font-family: var(--font-head); font-size: 1.7rem; color: #fff; }
  .site-nav ul a:hover, .site-nav ul a[aria-current] { color: #fff; }
  .site-nav ul a::after { display: block; left: 30%; right: 30%; bottom: .15rem; background: rgba(255, 255, 255, .7); }
  .site-nav .nav-cta { align-self: center; background: #fff; color: var(--forest); border-color: #fff; }
  .site-nav .nav-cta:hover { background: var(--cream); color: var(--forest); }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
  .menu-open .cookie { display: none; }
  .menu-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open .brand img { filter: brightness(0) invert(1); }
  .menu-open .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .6); }
  .menu-open .nav-toggle span { background: #fff; }
  .ig-prev { left: 2px; } .ig-next { right: 2px; }
}
@media (max-width: 820px) {
  .hero-grid, .split, .contact-grid, .about-hero, .featured { grid-template-columns: 1fr; }
  /* mobile: il primo riquadro occupa tutto lo schermo, senza foto */
  .hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: 2rem 0 3rem; }
  .hero-media { display: none; }
  .featured-body { padding: 0 1.6rem 1.8rem; }
  .featured-img { min-height: 240px; }
  .post-figure img { aspect-ratio: auto; height: auto; }
  .audience, .two-col, .form-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 70px 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .group-head { flex-direction: column; gap: .6rem; }
  .ig-nav { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 78px; }
  .brand img { width: 58px; }
  .cards, .post-grid, .service-grid { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 4 / 3; }
  .lead { font-size: 1.1rem; }
  .btn-row .btn { width: 100%; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .wa-widget { right: 12px; bottom: 12px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
}
@media print { .site-header, .wa-widget, .cookie, .site-footer { display: none !important; } }
