/* =========================================================================
   Studio Legale One Page — stili
   1. Variabili e reset      5. Aree
   2. Tipografia e utility   6. Metodo / Timeline
   3. Header e nav           7. Professionisti / Quote
   4. Hero                   8. Contatti, Footer, Responsive
   ========================================================================= */

/* 1. Variabili -------------------------------------------------------- */
:root {
	--sl-ink: #0e1826;
	--sl-ink-2: #14213a;
	--sl-accent: #c9a227;
	--sl-accent-soft: rgba(201, 162, 39, .16);
	--sl-paper: #f6f4ef;
	--sl-paper-2: #ece8df;
	--sl-white: #ffffff;
	--sl-text: #1d2634;
	--sl-muted: #5d6878;
	--sl-line: rgba(14, 24, 38, .12);
	--sl-line-light: rgba(255, 255, 255, .16);

	--ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--sec-y: clamp(80px, 11vw, 160px);
	--radius: 2px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--sl-text);
	background: var(--sl-paper);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 999;
	width: auto; height: auto; clip: auto;
	background: var(--sl-ink); color: #fff; padding: 12px 18px;
}

/* 2. Tipografia e utility --------------------------------------------- */
.h2 {
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: clamp(2.1rem, 4.2vw, 3.6rem);
	line-height: 1.1;
	letter-spacing: -.01em;
	margin: .2em 0 .5em;
	color: var(--sl-ink);
}

.kicker {
	display: flex; align-items: center; gap: 14px;
	font-size: .74rem; font-weight: 500;
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--sl-accent);
	margin: 0 0 6px;
}
.kicker-line {
	display: block; width: 44px; height: 1px;
	background: currentColor; opacity: .7;
	transform-origin: left; transform: scaleX(0);
	animation: lineIn 1s var(--ease) .2s forwards;
}
@keyframes lineIn { to { transform: scaleX(1); } }

.lead { font-size: 1.06rem; color: var(--sl-muted); max-width: 58ch; }
.lead p { margin: 0 0 1em; }

.section { padding: var(--sec-y) 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section-intro { color: var(--sl-muted); margin: 0; }

/* Bottoni */
.btn {
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 28px; border: 1px solid transparent; border-radius: var(--radius);
	font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
	overflow: hidden; transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn .ico { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(5px); }
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn > * { position: relative; z-index: 1; }

.btn-gold { background: var(--sl-accent); color: #1a1405; }
.btn-gold::before { background: var(--sl-ink); transform: translateY(101%); z-index: 0; }
.btn-gold:hover { color: #fff; }
.btn-gold:hover::before { transform: translateY(0); }

.btn-outline { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-outline::before { background: #fff; z-index: 0; }
.btn-outline:hover { color: var(--sl-ink); border-color: #fff; }
.btn-outline:hover::before { transform: translateY(0); }

.btn-ghost { padding: 10px 0; letter-spacing: .06em; text-transform: none; font-size: .86rem; }
.btn-ghost .ico { width: 16px; height: 16px; color: var(--sl-accent); }
.btn-block { width: 100%; justify-content: center; }

/* Reveal on scroll — attivo solo con JavaScript funzionante (classe html.sl-js).
   Senza JS i contenuti restano visibili invece di rimanere a opacity 0. */
.sl-js .reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
	transition-delay: var(--rd, 0ms);
	will-change: opacity, transform;
}
.sl-js .reveal.is-in { opacity: 1; transform: none; }

/* Split text (parola per parola) */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > i {
	display: inline-block; font-style: inherit;
	transform: translateY(105%);
	transition: transform .85s var(--ease);
	transition-delay: var(--wd, 0ms);
}
.is-in .split-word > i, .split-ready.is-in .split-word > i { transform: translateY(0); }

/* Barra di avanzamento lettura */
.sl-progress {
	position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120;
	background: transparent; pointer-events: none;
}
.sl-progress span {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, var(--sl-accent), #e6c964);
}

/* 3. Header ------------------------------------------------------------ */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	padding: 26px 0;
	transition: padding .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-stuck {
	padding: 12px 0;
	background: rgba(10, 17, 28, .82);
	backdrop-filter: saturate(150%) blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 32px; min-width: 0; }

/* Il logo testuale può essere lungo ("Studio Legale Avv. Mario Rossi"): deve poter
   restringersi, altrimenti spinge il menu fuori dallo schermo. */
.brand { margin-right: auto; min-width: 0; flex: 0 1 auto; }
.brand-text { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
	display: grid; place-items: center; width: 40px; height: 40px;
	border: 1px solid var(--sl-line-light); border-radius: 50%;
	color: var(--sl-accent);
	transition: transform .6s var(--ease), border-color .4s var(--ease);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text:hover .brand-mark { transform: rotate(-12deg); border-color: var(--sl-accent); }
.brand-names { display: flex; flex-direction: column; line-height: 1.15; }
.brand-names { min-width: 0; }
.brand-names strong {
	font-family: var(--ff-display); font-size: clamp(1.05rem, 1.5vw, 1.32rem);
	font-weight: 600; letter-spacing: .01em;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand-names em {
	font-style: normal; font-size: .64rem; letter-spacing: .2em;
	text-transform: uppercase; opacity: .62;
}
.custom-logo-link img { max-height: 52px; width: auto; }

.site-nav { flex: 0 0 auto; }
.site-nav ul {
	display: flex; gap: clamp(16px, 1.8vw, 30px);
	list-style: none; margin: 0; padding: 0; white-space: nowrap;
}
.site-nav a {
	position: relative; color: rgba(255, 255, 255, .8);
	font-size: .84rem; letter-spacing: .04em; padding: 6px 0;
	transition: color .35s var(--ease);
}
.site-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
	background: var(--sl-accent); transform: scaleX(0); transform-origin: right;
	transition: transform .45s var(--ease);
}
.site-nav a:hover, .site-nav .current a { color: #fff; }
.site-nav a:hover::after, .site-nav .is-active > a::after { transform: scaleX(1); transform-origin: left; }
.site-nav .is-active > a { color: var(--sl-accent); }

.header-actions { display: flex; align-items: center; gap: 18px; color: #fff; }
.header-actions .btn-ghost { color: rgba(255, 255, 255, .85); }
.header-actions .btn-ghost:hover { color: #fff; }

.nav-toggle {
	display: none; width: 44px; height: 40px; background: none; border: 0;
	padding: 0; position: relative;
}
.nav-toggle .bar {
	display: block; height: 1.5px; background: #fff; margin: 6px auto; width: 26px;
	transition: transform .4s var(--ease), opacity .3s var(--ease);
}
body.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Pannello mobile */
.mobile-panel {
	position: fixed; inset: 0; z-index: 95;
	background: var(--sl-ink);
	clip-path: circle(0% at calc(100% - 44px) 44px);
	transition: clip-path .7s var(--ease);
	display: grid; place-items: center;
	visibility: hidden;
}
body.nav-open .mobile-panel { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-panel-inner { text-align: center; display: grid; gap: 26px; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mobile-panel a {
	font-family: var(--ff-display); font-size: 2rem; color: #fff;
	opacity: 0; transform: translateY(18px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
body.nav-open .mobile-panel li a { opacity: 1; transform: none; }
body.nav-open .mobile-panel li:nth-child(1) a { transition-delay: .18s; }
body.nav-open .mobile-panel li:nth-child(2) a { transition-delay: .26s; }
body.nav-open .mobile-panel li:nth-child(3) a { transition-delay: .34s; }
body.nav-open .mobile-panel li:nth-child(4) a { transition-delay: .42s; }
body.nav-open .mobile-panel li:nth-child(5) a { transition-delay: .5s; }
.mobile-panel .btn { font-size: .8rem; justify-self: center; }

/* La barra di amministrazione di WordPress è fissa in cima: senza questo scarto
   coprirebbe l'header del sito quando si è loggati. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* 4. Hero -------------------------------------------------------------- */
.hero {
	position: relative; min-height: 100svh;
	display: flex; align-items: center;
	padding: 160px 0 130px; overflow: hidden;
	color: #fff; background: var(--sl-ink);
}
.hero-media { position: absolute; inset: -12% 0; z-index: 0; }
.hero-media img {
	width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.12); filter: saturate(.75) contrast(1.05);
	animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.02); } }
.hero-veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(105deg, rgba(9, 15, 25, .93) 0%, rgba(9, 15, 25, .78) 45%, rgba(9, 15, 25, .45) 100%),
		radial-gradient(120% 90% at 15% 100%, rgba(201, 162, 39, .18), transparent 60%);
}
.hero-grain {
	position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-kicker { color: var(--sl-accent); margin-bottom: 22px; }

.hero-title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2.9rem, 7.4vw, 6.2rem);
	line-height: 1.02; letter-spacing: -.02em;
	margin: 0 0 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-in {
	display: block; transform: translateY(110%);
	animation: lineUp 1.15s var(--ease) forwards;
	animation-delay: calc(.25s + var(--d));
}
.hero-title .line:nth-child(2) .line-in { color: var(--sl-accent); font-style: italic; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-text {
	max-width: 54ch; color: rgba(255, 255, 255, .74); font-size: 1.08rem;
	opacity: 0; animation: fadeUp 1s var(--ease) .8s forwards;
}
.hero-actions {
	display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px;
	opacity: 0; animation: fadeUp 1s var(--ease) .95s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-meta {
	display: flex; flex-wrap: wrap; gap: 12px 34px; list-style: none;
	margin: 54px 0 0; padding: 0;
	font-size: .82rem; color: rgba(255, 255, 255, .6);
	opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards;
}
.hero-meta li { display: flex; align-items: center; gap: 9px; }
.hero-meta .ico { width: 16px; height: 16px; color: var(--sl-accent); flex: none; }

.hero-scroll {
	position: absolute; left: 50%; bottom: 92px; z-index: 3;
	transform: translateX(-50%);
	display: grid; justify-items: center; gap: 10px;
	font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}
.hero-scroll-line { width: 1px; height: 56px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero-scroll-line::after {
	content: ""; position: absolute; inset: 0; background: var(--sl-accent);
	animation: scrollDot 2.1s var(--ease) infinite;
}
@keyframes scrollDot {
	0% { transform: translateY(-100%); }
	60%, 100% { transform: translateY(100%); }
}

/* Marquee */
.marquee {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	border-top: 1px solid var(--sl-line-light);
	background: rgba(9, 15, 25, .45); backdrop-filter: blur(6px);
	overflow: hidden; padding: 14px 0;
}
.marquee-track {
	display: flex; gap: 26px; white-space: nowrap; width: max-content;
	animation: marquee 34s linear infinite;
	font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}
.marquee-track i { color: var(--sl-accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 4b. About ------------------------------------------------------------ */
.section-about { background: var(--sl-paper); }
.about-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 7vw, 96px); align-items: center;
}
.about-media { position: relative; padding: 0 40px 70px 0; }
.about-img { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about-img img { transition: transform 1.4s var(--ease); }
.about-img:hover img { transform: scale(1.05); }
.about-img-main { aspect-ratio: 4 / 5; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sub {
	position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 1;
	box-shadow: 0 30px 60px -30px rgba(14, 24, 38, .5);
	border: 8px solid var(--sl-paper);
}
.about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-frame {
	position: absolute; left: -22px; top: -22px; width: 46%; height: 42%;
	border: 1px solid var(--sl-accent); opacity: .5; pointer-events: none;
}

.stats {
	display: flex; flex-wrap: wrap; gap: 18px 46px; list-style: none;
	margin: 46px 0 0; padding: 30px 0 0; border-top: 1px solid var(--sl-line);
}
.stat-num {
	display: block; font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.1rem);
	line-height: 1; color: var(--sl-ink);
}
.stat-num::after { content: attr(data-suffix); color: var(--sl-accent); }
.stat-lab { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sl-muted); }

/* 5. Aree -------------------------------------------------------------- */
.section-areas { background: var(--sl-ink); color: #fff; }
.section-areas .h2 { color: #fff; }
.section-areas .section-intro { color: rgba(255, 255, 255, .62); }

.areas-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1px; background: var(--sl-line-light);
	border: 1px solid var(--sl-line-light);
}
.area-card {
	position: relative; padding: clamp(30px, 3.4vw, 46px);
	background: var(--sl-ink); overflow: hidden;
	transition: background .5s var(--ease), transform .5s var(--ease);
	transform-style: preserve-3d;
}
.area-card:hover { background: var(--sl-ink-2); }
.area-num {
	position: absolute; right: 24px; top: 20px;
	font-family: var(--ff-display); font-size: 3.4rem; line-height: 1;
	color: rgba(255, 255, 255, .06);
	transition: color .5s var(--ease), transform .6s var(--ease);
}
.area-card:hover .area-num { color: var(--sl-accent-soft); transform: translateY(-4px); }
.area-icon {
	display: grid; place-items: center; width: 50px; height: 50px;
	border: 1px solid var(--sl-line-light); border-radius: 50%;
	color: var(--sl-accent); margin-bottom: 26px;
	transition: border-color .5s var(--ease), background .5s var(--ease), transform .6s var(--ease);
}
.area-icon .ico { width: 22px; height: 22px; }
.area-card:hover .area-icon { border-color: var(--sl-accent); background: var(--sl-accent-soft); transform: translateY(-3px); }
.area-title {
	font-family: var(--ff-display); font-weight: 500; font-size: 1.6rem;
	margin: 0 0 12px; color: #fff;
}
.area-text { margin: 0 0 18px; color: rgba(255, 255, 255, .64); font-size: .96rem; }
.area-tags {
	margin: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--sl-accent); opacity: .82;
}
.area-glow {
	position: absolute; inset: auto -30% -60% -30%; height: 60%;
	background: radial-gradient(50% 100% at 50% 100%, rgba(201, 162, 39, .22), transparent 70%);
	opacity: 0; transition: opacity .6s var(--ease);
	pointer-events: none;
}
.area-card:hover .area-glow { opacity: 1; }

/* 6. Metodo ------------------------------------------------------------ */
.section-method { background: var(--sl-paper-2); }
.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.method-head { position: sticky; top: 130px; align-self: start; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 46px; position: relative; }
.timeline-rail {
	position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px;
	background: var(--sl-line);
}
.timeline-rail i {
	position: absolute; inset: 0 auto 0 0; width: 100%; height: 0;
	background: var(--sl-accent); transition: height .2s linear;
	display: block;
}
.timeline-item { position: relative; padding-bottom: clamp(34px, 4vw, 54px); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
	position: absolute; left: -40px; top: 9px;
	width: 11px; height: 11px; border-radius: 50%;
	background: var(--sl-paper-2); border: 1px solid var(--sl-muted);
	transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.timeline-item.is-in .timeline-dot { background: var(--sl-accent); border-color: var(--sl-accent); transform: scale(1.25); }
.timeline-num {
	font-size: .72rem; letter-spacing: .2em; color: var(--sl-accent);
}
.timeline-title {
	font-family: var(--ff-display); font-size: 1.7rem; font-weight: 500;
	margin: 4px 0 8px; color: var(--sl-ink);
}
.timeline-text { margin: 0; color: var(--sl-muted); max-width: 52ch; }

/* 6b. Riquadro ultimi articoli (plugin) -------------------------------- */
.about-news { margin-top: clamp(48px, 6vw, 84px); }
.about-news .slua { max-width: 780px; margin-inline: auto; }
.about-news-hint {
	max-width: 780px; margin: 0 auto; padding: 16px 18px;
	background: var(--sl-white); border-left: 2px solid var(--sl-accent);
	font-size: .85rem; color: var(--sl-muted);
}

/* 7. Professionisti ---------------------------------------------------- */
.section-people { background: var(--sl-paper); }
/* Una scheda per riga: foto a sinistra, testo a destra. */
.people-grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }

.person {
	display: grid; grid-template-columns: clamp(200px, 24%, 280px) 1fr;
	background: var(--sl-white); border: 1px solid var(--sl-line);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.person:hover {
	transform: translateY(-3px);
	border-color: rgba(201, 162, 39, .45);
	box-shadow: 0 30px 50px -38px rgba(14, 24, 38, .55);
}
.person-photo { position: relative; overflow: hidden; min-height: 240px; }
.person-photo img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1) contrast(1.03);
	transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.06); filter: grayscale(0); }
.person-shade {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(14, 24, 38, .55), transparent 45%);
	opacity: .8; transition: opacity .6s var(--ease);
}
.person:hover .person-shade { opacity: .35; }

/* Scheda senza foto: monogramma con le iniziali */
.person.no-photo .person-photo {
	display: grid; place-items: center;
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(201, 162, 39, .12), transparent 65%),
		var(--sl-ink);
}
.person.no-photo .person-photo::after {
	content: ""; position: absolute; inset: 14px;
	border: 1px solid rgba(255, 255, 255, .12); pointer-events: none;
}
.person-monogram {
	font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3rem);
	letter-spacing: .06em; color: var(--sl-accent);
	transition: transform .6s var(--ease);
}
.person.no-photo:hover .person-monogram { transform: scale(1.06); }

.person-body {
	position: relative;
	padding: clamp(26px, 3vw, 40px) clamp(24px, 3.4vw, 46px);
	display: flex; flex-direction: column; justify-content: center;
}
.person-num {
	position: absolute; right: clamp(20px, 2.6vw, 34px); top: clamp(18px, 2.2vw, 28px);
	font-family: var(--ff-display); font-size: 2.4rem; line-height: 1;
	color: rgba(14, 24, 38, .07);
	transition: color .5s var(--ease);
}
.person:hover .person-num { color: var(--sl-accent-soft); }
.person-name {
	font-family: var(--ff-display); font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 500;
	margin: 0 0 4px; color: var(--sl-ink); padding-right: 48px;
}
.person-role {
	margin: 0 0 14px; font-size: .74rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--sl-accent);
}
.person-bio { margin: 0; font-size: .95rem; color: var(--sl-muted); max-width: 62ch; }
.person-mail {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
	font-size: .85rem; color: var(--sl-ink); border-bottom: 1px solid var(--sl-line);
	padding-bottom: 3px; transition: border-color .4s var(--ease), color .4s var(--ease);
}
.person-mail .ico { width: 15px; height: 15px; color: var(--sl-accent); }
.person-mail:hover { color: var(--sl-accent); border-color: var(--sl-accent); }

/* Quote band */
.section-quote {
	position: relative; overflow: hidden; color: #fff;
	padding: clamp(90px, 13vw, 180px) 0; text-align: center;
}
.quote-media { position: absolute; inset: -14% 0; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-veil { position: absolute; inset: 0; background: rgba(9, 15, 25, .78); }
.quote-inner { position: relative; z-index: 2; }
.section-quote blockquote {
	font-family: var(--ff-display); font-style: italic; font-weight: 300;
	font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.28;
	max-width: 22ch; margin: 0 auto; text-wrap: balance;
}
.quote-sign {
	margin: 26px 0 0; font-size: .74rem; letter-spacing: .26em;
	text-transform: uppercase; color: var(--sl-accent);
}

/* 8. Contatti ---------------------------------------------------------- */
.section-contact { background: var(--sl-paper-2); }
.contact-head { max-width: 56ch; }

/* Sedi: una card per sede, con mappa incorporata */
.offices {
	display: grid; gap: clamp(20px, 2.6vw, 32px);
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.offices[data-offices="1"] { grid-template-columns: minmax(0, 720px); }

.office {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--sl-white); border: 1px solid var(--sl-line); border-radius: var(--radius);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.office:hover {
	transform: translateY(-3px);
	border-color: rgba(201, 162, 39, .45);
	box-shadow: 0 34px 56px -42px rgba(14, 24, 38, .5);
}
.office-head {
	display: flex; align-items: flex-start; gap: 16px;
	padding: clamp(22px, 2.4vw, 30px);
}
.office-ico {
	display: grid; place-items: center; width: 44px; height: 44px; flex: none;
	border: 1px solid var(--sl-line); border-radius: 50%; color: var(--sl-accent);
	transition: background .5s var(--ease), border-color .5s var(--ease);
}
.office-ico .ico { width: 19px; height: 19px; }
.office:hover .office-ico { background: var(--sl-accent-soft); border-color: var(--sl-accent); }
.office-name {
	margin: 0 0 6px;
	font-family: var(--ff-display); font-size: 1.35rem; font-weight: 500; line-height: 1.25;
	color: var(--sl-ink);
}
.office-link {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--sl-accent);
	border-bottom: 1px solid transparent; padding-bottom: 2px;
	transition: border-color .35s var(--ease);
}
.office-link .ico { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.office-link:hover { border-color: var(--sl-accent); }
.office-link:hover .ico { transform: translateX(3px); }

.office-map { margin-top: auto; line-height: 0; background: var(--sl-paper); }
.office-map iframe {
	display: block; width: 100%; height: 300px; border: 0;
	filter: grayscale(1) contrast(1.04);
	transition: filter .6s var(--ease);
}
.office:hover .office-map iframe { filter: grayscale(0) contrast(1); }

/* Recapiti sotto le sedi */
.contact-details {
	list-style: none; margin: clamp(28px, 3.4vw, 44px) 0 0; padding: 0;
	display: grid; gap: clamp(18px, 2.2vw, 28px);
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact-detail {
	display: grid; justify-items: start; gap: 4px;
	padding: clamp(22px, 2.4vw, 28px);
	background: var(--sl-white); border: 1px solid var(--sl-line); border-radius: var(--radius);
	transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.contact-detail:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, .45); }
.contact-ico {
	display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px;
	border: 1px solid var(--sl-line); border-radius: 50%; color: var(--sl-accent);
	transition: background .5s var(--ease), border-color .5s var(--ease);
}
.contact-ico .ico { width: 18px; height: 18px; }
.contact-detail:hover .contact-ico { background: var(--sl-accent-soft); border-color: var(--sl-accent); }
.contact-lab {
	font-size: .7rem; font-weight: 500; letter-spacing: .18em;
	text-transform: uppercase; color: var(--sl-muted);
}

/* Stessa resa tipografica per telefono, email, PEC e orari */
.contact-val {
	font-family: var(--ff-body); font-size: 1rem; font-weight: 400; line-height: 1.5;
	color: var(--sl-ink); word-break: break-word;
	border-bottom: 1px solid transparent;
	transition: color .35s var(--ease), border-color .35s var(--ease);
}
a.contact-val:hover { color: var(--sl-accent); border-color: var(--sl-accent); }

/* Footer */
.site-footer { background: var(--sl-ink); color: rgba(255, 255, 255, .72); padding: clamp(60px, 8vw, 100px) 0 0; }
.footer-grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(40px, 6vw, 70px);
}
.footer-brand strong { display: block; font-family: var(--ff-display); font-size: 1.5rem; color: #fff; margin: 14px 0 10px; }
.footer-brand p { margin: 0; font-size: .84rem; opacity: .6; max-width: 40ch; }
.footer-col p { margin: 0 0 6px; font-size: .9rem; }
.footer-col a:hover { color: var(--sl-accent); }

/* Elenchi del footer con icona (sedi, telefono, email, PEC) */
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; }
.footer-list .ico {
	width: 16px; height: 16px; flex: none; margin-top: 4px;
	color: var(--sl-accent); opacity: .9;
}
.footer-list a { border-bottom: 1px solid transparent; transition: color .35s var(--ease), border-color .35s var(--ease); word-break: break-word; }
.footer-list a:hover { color: var(--sl-accent); border-color: var(--sl-accent); }
.widget-title {
	font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
	color: var(--sl-accent); margin: 0 0 14px; font-weight: 500;
}
.footer-bottom {
	display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between;
	padding: 22px 0 28px; border-top: 1px solid var(--sl-line-light);
	font-size: .78rem; opacity: .6;
}
.legal-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

.to-top {
	position: fixed; right: 26px; bottom: 26px; z-index: 90;
	display: grid; place-items: center; width: 46px; height: 46px;
	border-radius: 50%; background: var(--sl-accent); color: #1a1405;
	opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
	transition: opacity .4s var(--ease), transform .4s var(--ease);
	box-shadow: 0 14px 30px -12px rgba(14, 24, 38, .6);
}
.to-top svg { width: 19px; height: 19px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* Pagine interne, News, articoli --------------------------------------- */
.breadcrumb { margin: 0 0 18px; font-size: .8rem; }
.breadcrumb a {
	display: inline-flex; align-items: center; gap: 8px;
	color: rgba(255, 255, 255, .7);
	transition: color .35s var(--ease);
}
.breadcrumb a:hover { color: var(--sl-accent); }
.breadcrumb-back { display: grid; place-items: center; width: 16px; height: 16px; }
.breadcrumb-back svg { width: 100%; height: 100%; }
.breadcrumb a:hover .breadcrumb-back { transform: translateX(-3px); transition: transform .35s var(--ease); }

.news-intro { margin-bottom: clamp(36px, 5vw, 60px); }

/* Casella di ricerca degli articoli */
.news-search {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	margin: 0 0 clamp(28px, 3.4vw, 44px);
	padding: 10px 10px 10px 14px;
	background: var(--sl-white); border: 1px solid var(--sl-line); border-radius: var(--radius);
	transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.news-search:focus-within {
	border-color: var(--sl-accent);
	box-shadow: 0 0 0 3px var(--sl-accent-soft);
}
.news-search-ico { display: grid; place-items: center; width: 20px; height: 20px; color: var(--sl-accent); flex: none; }
.news-search-ico svg { width: 100%; height: 100%; }
.news-search input[type="search"] {
	flex: 1 1 220px; min-width: 0;
	border: 0; background: transparent; padding: 10px 0;
	font: inherit; font-size: 1rem; color: var(--sl-text);
	-webkit-appearance: none; appearance: none;
}
.news-search input[type="search"]:focus { outline: 0; }
.news-search input[type="search"]::placeholder { color: var(--sl-muted); }
.news-search .btn { padding: 12px 24px; }
.news-search-clear {
	font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted);
	border-bottom: 1px solid transparent; padding-bottom: 2px; margin-right: 6px;
	transition: color .35s var(--ease), border-color .35s var(--ease);
}
.news-search-clear:hover { color: var(--sl-accent); border-color: var(--sl-accent); }

.news-results {
	margin: -14px 0 clamp(24px, 3vw, 36px);
	font-size: .88rem; color: var(--sl-muted);
}

@media (max-width: 560px) {
	.news-search { padding-bottom: 12px; }
	.news-search .btn { width: 100%; justify-content: center; }
}

/* Griglia degli articoli */
.posts-grid {
	display: grid; gap: clamp(20px, 2.6vw, 32px);
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-card {
	background: var(--sl-white); border: 1px solid var(--sl-line); border-radius: var(--radius);
	overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.post-card:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 162, 39, .45);
	box-shadow: 0 34px 56px -42px rgba(14, 24, 38, .5);
}
.post-card-link { display: flex; flex-direction: column; height: 100%; }
.post-card-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sl-paper); }
.post-card-thumb img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1); transition: filter .6s var(--ease), transform .9s var(--ease);
}
.post-card:hover .post-card-thumb img { filter: grayscale(0); transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.4vw, 28px); flex: 1; }
.post-card-date {
	font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sl-accent);
}
.post-card-title {
	margin: 0; font-family: var(--ff-display); font-size: 1.4rem; font-weight: 500;
	line-height: 1.25; color: var(--sl-ink);
	transition: color .35s var(--ease);
}
.post-card:hover .post-card-title { color: var(--sl-accent); }
.post-card-excerpt { font-size: .92rem; color: var(--sl-muted); }
.post-card-more {
	display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px;
	font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sl-ink);
}
.post-card-more .ico { width: 15px; height: 15px; color: var(--sl-accent); transition: transform .35s var(--ease); }
.post-card:hover .post-card-more .ico { transform: translateX(4px); }

/* Paginazione */
.pagination {
	display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
	margin-top: clamp(36px, 5vw, 56px);
}
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--sl-line); border-radius: var(--radius);
	font-size: .86rem; color: var(--sl-ink);
	transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.pagination a.page-numbers:hover { border-color: var(--sl-accent); color: var(--sl-accent); }
.pagination .page-numbers.current { background: var(--sl-accent); border-color: var(--sl-accent); color: #1a1405; }
.pagination .dots { border-color: transparent; }

/* Navigazione fra articoli */
.post-nav {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 20px; margin-top: clamp(44px, 6vw, 70px);
	padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--sl-line);
}
.post-nav-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .88rem; }
.post-nav-links a { color: var(--sl-muted); transition: color .35s var(--ease); }
.post-nav-links a:hover { color: var(--sl-accent); }

.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { width: 100%; border-radius: var(--radius); }

/* Pagine interne (privacy, cookie, ecc.) */
.page-hero { background: var(--sl-ink); color: #fff; padding: 190px 0 70px; }
.page-hero .h2 { color: #fff; margin: 0; }
.page-content { padding: var(--sec-y) 0; }
.page-content .entry { max-width: 72ch; }
.page-content h2, .page-content h3 { font-family: var(--ff-display); color: var(--sl-ink); }
.page-content a { color: var(--sl-accent); text-decoration: underline; }

/* 9. Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
	.areas-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Fascia stretta ma ancora "desktop": il numero di telefono lascia il posto al menu,
   così il nome dello studio non viene troncato. Resta l'icona, cliccabile. */
@media (max-width: 1200px) {
	.header-actions .btn-ghost span { display: none; }
}

@media (max-width: 1100px) {
	.site-nav { display: none; }
	.nav-toggle { display: block; }
}

@media (max-width: 900px) {
	.about-grid, .method-grid { grid-template-columns: 1fr; }
	.method-head { position: static; }
	.about-media { padding-bottom: 90px; }
	.hero-scroll { display: none; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.areas-grid, .footer-grid { grid-template-columns: 1fr; }
	.hero { padding: 130px 0 110px; }
	.hero-meta { gap: 10px 20px; }
	.btn { padding: 14px 22px; }
	.mobile-panel a { font-size: 1.6rem; }
	.person { grid-template-columns: 1fr; }
	.person-photo { min-height: 0; aspect-ratio: 4 / 3; }
	.person.no-photo .person-photo { aspect-ratio: 5 / 2; }
}

/* Rispetto delle preferenze di sistema.
   "Riduci movimento" elimina spostamenti, parallax e cicli infiniti, ma conserva le
   dissolvenze: il sito resta vivo senza movimenti che possono dare fastidio.
   La stessa logica è applicata via JS con la classe body.reduced-motion. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	/* Niente traslazioni: gli elementi compaiono in dissolvenza sul posto. */
	.sl-js .reveal { transform: none; transition: opacity .5s ease; }
	.split-word > i,
	.hero-title .line-in { transform: none !important; animation: none !important; }
	.kicker-line { transform: scaleX(1); animation: none; }

	/* Elementi che senza animazione resterebbero invisibili. */
	.hero-text, .hero-actions, .hero-meta { opacity: 1 !important; animation: none !important; }

	/* Cicli infiniti e zoom: disattivati. */
	.marquee-track,
	.hero-media img,
	.hero-scroll-line::after { animation: none !important; }
	.hero-media img { transform: scale(1.02); }

	/* Nessun movimento in hover, ma i cambi di colore restano. */
	.btn:hover .ico,
	.person:hover, .contact-card:hover, .area-card:hover,
	.about-img:hover img, .person:hover .person-photo img { transform: none !important; }
}

body.reduced-motion .reveal { transform: none; transition: opacity .5s ease; }
body.reduced-motion .marquee-track,
body.reduced-motion .hero-media img { animation: none; }

/* Modalità "animazioni disattivate" dal Customizer */
body.no-motion .reveal,
.sl-js body.no-motion .reveal { opacity: 1; transform: none; }
body.no-motion .split-word > i,
body.no-motion .hero-title .line-in { transform: none; animation: none; }
body.no-motion .marquee-track { animation: none; }
body.no-motion .hero-media img { animation: none; transform: none; }
