/* Studio Chiropratico Dr. Chris Cerrato — foglio di stile unico */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --navy: #203c6b;
  --navy-deep: #152a4d;
  --ink: #14233f;
  --text: #33415a;
  --muted: #5b6b85;
  --line: #e2dccf;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --sand: #efe8dc;
  --accent: #c8693f;
  --accent-deep: #a9532d;
  --gold: #e0b66a;
  --radius: 22px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(20, 35, 63, .06), 0 12px 32px -12px rgba(20, 35, 63, .18);
  --shadow-l: 0 2px 4px rgba(20, 35, 63, .05), 0 30px 60px -20px rgba(20, 35, 63, .28);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.25; }
h4 { font-size: 1.15rem; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--text); max-width: 60ch; }

/* ---------- pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .85em 1.5em; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(32, 60, 107, .7); }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 105, 63, .8); }
.btn--accent:hover { background: var(--accent-deep); color: #fff; }
.btn--ghost { border-color: rgba(32, 60, 107, .25); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy-deep); background: var(--cream); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20, 35, 63, .35); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand__name { display: block; font: 600 1.12rem/1.1 var(--serif); letter-spacing: -.01em; }
.brand__tag { display: block; font: 500 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; border-radius: 999px; font: 500 .96rem/1 var(--sans); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: rgba(32, 60, 107, .07); color: var(--ink); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--navy); background: rgba(32, 60, 107, .09); }
.header-cta { display: inline-flex; min-height: 44px; padding: .6em 1.15em; font-size: .95rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(20, 35, 63, .4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav a { padding: 16px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; }
  .nav .btn { margin-top: 18px; border-bottom: 0; justify-content: center; border-radius: 999px; padding: 16px; }
  .nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; background: var(--navy); }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .menu-toggle .i-open { display: none; }
  .menu-open .menu-toggle .i-close { display: block; }
}
@media (min-width: 1121px) { .nav .nav__call { display: none; } }
.nav a, .header-cta, .brand__tag { white-space: nowrap; }

/* ---------- hero home ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(224, 182, 106, .28), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -15vw; bottom: -30vw; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(32, 60, 107, .10), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); max-width: 34em; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 2.2rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink); }
.trust li { display: flex; align-items: center; gap: .55em; }
.trust .icon { color: var(--accent); width: 1.15em; height: 1.15em; }
.hero__media { position: relative; justify-self: center; width: min(100%, 470px); }
.portrait { position: relative; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-l); aspect-ratio: 3 / 4; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__ring { position: absolute; inset: -18px; border: 1.5px solid rgba(32, 60, 107, .16); border-radius: 260px 260px 34px 34px; pointer-events: none; }
.float-card { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255, 253, 249, .94); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; color: var(--ink); }
.float-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.float-card .icon { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--navy); color: #fff; }
.float-card--a { left: -44px; bottom: 56px; }
.float-card--b { right: -28px; top: 46px; }
.float-card--b .icon { background: var(--accent); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { width: min(100% - 24px, 340px); margin-top: 12px; }
  .float-card--a { left: -10px; bottom: 26px; }
  .float-card--b { right: -10px; top: 20px; }
}
@media (max-width: 420px) { .float-card { font-size: .8rem; padding: 10px 12px; } .float-card .icon { width: 32px; height: 32px; } .float-card--b { display: none; } }

/* ---------- sezioni ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(28px, 4vw, 56px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-deep); color: #c9d3e4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--gold); }
.section--navy a:not(.btn) { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section__head p { color: var(--muted); font-size: 1.12rem; }
.section--navy .section__head p { color: #aebbd2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split > *, .layout-aside > *, .page-hero__grid > *, .hero__grid > * { min-width: 0; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-l); width: 100%; object-fit: cover; }
.split__media .illus { background: var(--paper); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow); }
.split__media .illus img { box-shadow: none; border-radius: 0; }
.media-caption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split--reverse-mobile .split__media { order: -1; } }

/* card */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text); font-size: 1rem; }
.card p:last-of-type { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 1.2rem; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--cream); color: var(--navy); margin-bottom: 1.4rem; border: 1px solid var(--line); }
.card__icon .icon { width: 28px; height: 28px; }
.card--navy { background: var(--navy); border-color: var(--navy); color: #c9d3e4; }
.card--navy h3 { color: #fff; }
.card--navy .card__icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: var(--gold); }
.section--navy .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #c9d3e4; }
.section--navy .card p { color: #c9d3e4; }
.section--navy .card .card__icon { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--gold); }
.section--navy a.card:hover { background: rgba(255, 255, 255, .07); }
.section--navy .card--accent, .card--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.section--navy .card--accent p, .card--accent p, .card--accent h3 { color: #fff; }
.section--navy a.card--accent:hover { background: var(--accent-deep); }
.section--navy .card--accent .card__icon { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); color: #fff; }
.section--navy .card--accent .link-arrow { color: #fff; }
.section--navy .link-arrow { color: var(--gold); }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .9rem; }

/* passi */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 28px 26px 30px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: 400 2.6rem/1 var(--serif); font-style: italic; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font-size: 1.25rem; }
.steps p { font-size: .98rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* liste con spunta */
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .75em; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .2em; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

/* numeri / fatti */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts > div { background: var(--paper); padding: 26px 24px; }
.facts dt { font: 500 .8rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font: 500 1.35rem/1.25 var(--serif); color: var(--ink); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* testimonianze */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: 34px 30px 28px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote::before { content: "\201C"; font: 400 4.4rem/0.6 var(--serif); color: var(--gold); height: 34px; }
.quote blockquote { margin: 0 0 1.4rem; font: 400 1.12rem/1.6 var(--serif); color: var(--ink); }
.quote figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* FAQ */
.faqs { display: grid; gap: 12px; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font: 500 1.12rem/1.4 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203c6b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--text); }
.faq__a p:last-child { margin-bottom: 0; }

/* banda CTA */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 6vw, 72px); background: var(--navy); color: #c9d3e4; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 182, 106, .35), transparent); }
.cta-band::after { content: ""; position: absolute; right: 60px; bottom: -160px; width: 320px; height: 320px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .12); }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; color: #c2cde0; font-size: 1.1rem; }
.cta-band__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-band__actions .btn { width: 100%; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* pagina interna */
.page-hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -20vw; top: -30vw; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(224, 182, 106, .22), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); max-width: 18ch; }
.page-hero .lead { margin-top: .4rem; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero__media img { border-radius: var(--radius); box-shadow: var(--shadow-l); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.crumbs { position: relative; font-size: .88rem; color: var(--muted); margin-bottom: clamp(24px, 4vw, 44px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #a8b2c3; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* testo lungo */
.prose { font-size: 1.09rem; }
.prose > * + h2 { margin-top: 2.2em; }
.prose > * + h3 { margin-top: 1.8em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font: 400 1.25rem/1.55 var(--serif); color: var(--ink); }
.callout { margin: 2em 0; padding: 22px 26px; border-radius: var(--radius-s); background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); font-size: 1rem; }
.callout p:last-child { margin: 0; }
.callout--info { border-left-color: var(--navy); }
.summary-box { margin: 0 0 2.4em; padding: 24px 28px; border-radius: var(--radius); background: var(--sand); }
.summary-box h2 { font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 12px; }
.summary-box ul { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .92rem; color: var(--muted); margin-top: 1.2rem; }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-box { display: flex; gap: 22px; align-items: center; margin-top: 3em; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.author-box p { margin: 0; font-size: .98rem; }
.author-box strong { display: block; font: 600 1.15rem/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }
@media (max-width: 560px) { .author-box { flex-direction: column; align-items: flex-start; } }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: 104px; display: grid; gap: 16px; }
@media (max-width: 980px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.aside-card { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.25rem; margin-bottom: .6em; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.aside-card li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .98rem; }
.aside-card li:last-child a { border-bottom: 0; }
.aside-card li a:hover { color: var(--accent-deep); }
.aside-card li a[aria-current="page"] { color: var(--accent-deep); font-weight: 600; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: #c9d3e4; }
.aside-card--navy h2 { color: #fff; }
.aside-card--navy .btn { width: 100%; margin-top: 10px; }

/* contatti */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius-s); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.contact-item .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--navy); color: #fff; }
.contact-item small { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item > div { min-width: 0; }
.contact-item span { font: 500 1.15rem/1.35 var(--serif); overflow-wrap: anywhere; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--sand); box-shadow: var(--shadow); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; background: linear-gradient(rgba(239, 232, 220, .7), rgba(239, 232, 220, .9)), repeating-linear-gradient(35deg, transparent 0 38px, rgba(32, 60, 107, .06) 38px 40px), repeating-linear-gradient(-55deg, transparent 0 58px, rgba(32, 60, 107, .05) 58px 60px); }
.map-card__placeholder p { margin: 0; max-width: 32ch; font-size: .92rem; color: var(--muted); }
.map-pin { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px rgba(200, 105, 63, .15); }

/* video facade */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 78% 20%, rgba(224, 182, 106, .35), transparent 45%), radial-gradient(circle at 10% 110%, rgba(200, 105, 63, .4), transparent 50%), var(--navy-deep); box-shadow: var(--shadow-l); }
.video__title { position: absolute; left: 24px; top: 22px; text-align: left; font: 500 clamp(1.2rem, 2.4vw, 1.6rem)/1.2 var(--serif); color: #fff; }
.video__title small { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: transparent; color: #fff; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s; }
.video button:hover img { opacity: .95; transform: scale(1.02); }
.video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 12px rgba(200, 105, 63, .25); transition: transform .2s; }
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video button:hover .video__play { transform: scale(1.06); }
.video__note { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-size: .78rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); text-align: left; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* footer */
.site-footer { background: var(--navy-deep); color: #aebbd2; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .97rem; }
.site-footer a { color: #e6ecf5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand strong { display: block; font: 600 1.2rem/1.2 var(--serif); color: #fff; }
.site-footer h2 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: .25em; color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8797b3; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 760px; }

/* barra mobile chiama */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(21, 42, 77, .94); backdrop-filter: blur(12px); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .35s ease; }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; font-size: .98rem; color: #fff; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--accent); }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 104px; }
}

/* comparsa allo scroll (solo con JS attivo) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 80px 0; }
.notfound .big { font: 400 clamp(5rem, 16vw, 10rem)/1 var(--serif); font-style: italic; color: var(--accent); }

@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer nav { display: none; }
  body { background: #fff; }
}
