/* ==========================================================================
   Studio Legale Aurora — Stile editoriale "law journal"
   Carta avorio / inchiostro navy / ottone. Playfair Display + Inter.
   ========================================================================== */

:root {
  --paper: #f5f1e8;
  --paper-2: #efe9dc;
  --paper-3: #e7e0d0;
  --ink: #131a26;
  --ink-2: #1b2434;
  --ink-3: #26334a;
  --text: #2b3444;
  --muted: #6d7686;
  --brass: #b08d57;
  --brass-2: #c9a86a;
  --brass-dark: #8f6f3e;
  --cream: #f6f2e9;
  --line: rgba(19, 26, 38, 0.14);
  --line-strong: rgba(19, 26, 38, 0.85);
  --line-dark: rgba(246, 242, 233, 0.16);
  --ok: #2e7d4f;
  --danger: #b3423a;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(19, 26, 38, 0.16);
  --header-h: 76px;
  --topbar-h: 40px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brass); color: var(--ink); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--ink); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px;
  font-size: 14px; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.14); transform: translateX(-110%) skewX(-18deg);
  transition: transform 0.5s var(--ease);
}
.btn:hover::after { transform: translateX(110%) skewX(-18deg); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 11px 20px; font-size: 12.5px; }
.btn-lg { padding: 18px 38px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-brass { background: var(--brass); color: #fdfbf6; box-shadow: 0 10px 26px rgba(176, 141, 87, 0.34); }
.btn-brass:hover { background: var(--brass-dark); }
.btn-gold { background: var(--brass-2); color: var(--ink); }
.btn-gold:hover { background: var(--brass); color: #fdfbf6; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-dark { background: transparent; color: var(--cream); border-color: rgba(246, 242, 233, 0.5); }
.btn-outline-dark:hover { background: var(--cream); color: var(--ink); }

/* ---------- Top bar ---------- */
/* position + z-index: la top bar resta sempre sopra l'header sticky (z-index 100)
   e non viene mai coperta/intercettata al click, nemmeno a metà scroll */
.topbar { position: relative; z-index: 110; background: var(--ink); color: rgba(246, 242, 233, 0.82); font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--topbar-h); gap: 16px; }
.topbar-contacts { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-contacts a { transition: color 0.2s; }
.topbar-contacts a:hover { color: var(--brass-2); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-hours { letter-spacing: 0.06em; }

.lang-toggle {
  position: relative; z-index: 1;
  background: rgba(246, 242, 233, 0.08); border: 1px solid rgba(246, 242, 233, 0.28);
  color: var(--cream); font-family: var(--font-sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0.1em; padding: 5px 13px; border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

/* Variante per l'header chiaro (sticky): sempre visibile anche a metà pagina */
.lang-toggle--header {
  background: transparent; border-color: var(--line-strong); color: var(--ink);
}
.lang-toggle--header:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(19, 26, 38, 0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { color: var(--brass); display: inline-flex; flex-shrink: 0; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: 0.01em; }
.brand-name em { font-style: italic; color: var(--brass-dark); }
.brand-tag { display: block; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }

.primary-nav { display: flex; gap: 30px; }
.primary-nav a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 6px 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 22px 4vw 28px; box-shadow: 0 24px 40px rgba(19, 26, 38, 0.14);
}
.mobile-menu.is-open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-serif); font-size: 20px; color: var(--ink);
  padding: 12px 0; border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.mobile-menu nav a:hover { color: var(--brass-dark); padding-left: 8px; }
.mobile-menu .btn { margin-top: 20px; }
.mobile-lang { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.mobile-lang button {
  background: transparent; border: 1px solid var(--line-strong); border-radius: 2px;
  color: var(--ink); font-weight: 500; padding: 8px 16px; transition: all 0.2s;
}
.mobile-lang button:hover { background: var(--ink); color: var(--cream); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5; mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 64px; align-items: center;
  position: relative;
}

.hero-overline {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--brass-dark);
}
.hero-overline::before { content: ""; width: 44px; height: 1px; background: var(--brass); }

.hero-title { font-size: clamp(40px, 5.2vw, 62px); margin: 22px 0 24px; }
.hero-title em { font-style: italic; color: var(--brass-dark); }
.hero-sub { font-size: 17.5px; color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-points { margin-top: 34px; display: flex; flex-direction: column; gap: 9px; }
.hero-points li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text); }
.hero-points li span[aria-hidden] { color: var(--brass); font-size: 12px; }

.hero-media { position: relative; }
.hero-figure { position: relative; aspect-ratio: 4 / 4.6; background: var(--ink-3); }
.hero-figure::before {
  content: ""; position: absolute; inset: 0; transform: translate(22px, 22px);
  border: 1.5px solid var(--brass); z-index: -1; transition: transform 0.5s var(--ease);
}
.hero-media:hover .hero-figure::before { transform: translate(14px, 14px); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.hero-figure.no-img::before { display: none; }

.hero-card {
  position: absolute; left: -46px; bottom: -34px; z-index: 3;
  background: var(--ink); color: var(--cream);
  padding: 22px 26px; width: min(320px, 88%);
  box-shadow: var(--shadow); border-left: 3px solid var(--brass);
}
.hero-card-tag { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-2); }
.hero-card-title { font-family: var(--font-serif); font-size: 19px; color: var(--cream); margin: 7px 0 4px; }
.hero-card-meta { font-size: 12.5px; color: rgba(246, 242, 233, 0.6); }
.hero-card-outcome { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(246, 242, 233, 0.16); font-size: 13.5px; color: #9fceb2; display: flex; gap: 8px; align-items: center; }

/* ---------- Stats band ---------- */
.stats-band { margin-top: 110px; background: var(--ink); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark);
}
.stat {
  padding: 40px 30px; text-align: left; border-right: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-value {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 46px);
  color: var(--brass-2); line-height: 1;
}
.stat-suffix { font-family: var(--font-serif); color: var(--brass-2); font-size: clamp(24px, 2.4vw, 32px); margin-left: 2px; }
.stat-label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 242, 233, 0.66); }

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.dark { background: var(--ink); color: rgba(246, 242, 233, 0.85); }
.dark h2 { color: var(--cream); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-number {
  font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--brass-dark);
  letter-spacing: 0.1em; display: inline-block; margin-bottom: 12px;
}
.section-number.light { color: var(--brass-2); }
.section-script {
  font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
  color: var(--muted); margin-bottom: 12px;
}
.dark .section-script { color: rgba(246, 242, 233, 0.55); }
.section-title { font-size: clamp(32px, 3.8vw, 46px); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 16px; }
.dark .section-sub { color: rgba(246, 242, 233, 0.62); }

.divider { display: block; margin: 26px auto 0; width: 88px; height: 1px; background: transparent; position: relative; }
.divider::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--brass); }
.divider::after { content: ""; position: absolute; left: 50%; top: -3px; transform: translateX(-50%); width: 7px; height: 7px; background: var(--brass); border-radius: 50%; }

/* ---------- Practice list ---------- */
.chips { display: flex; justify-content: center; gap: 12px; margin-bottom: 46px; flex-wrap: wrap; }
.chip {
  background: transparent; border: 1px solid var(--line); border-radius: 100px;
  padding: 10px 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text); transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--brass-dark); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.practice-list { border-top: 2px solid var(--ink); }
.practice-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 30px; align-items: center;
  padding: 34px 26px; border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding-left 0.35s var(--ease);
  cursor: pointer; position: relative;
}
.practice-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brass); transform: scaleY(0); transition: transform 0.35s var(--ease);
  transform-origin: bottom;
}
.practice-item:hover { background: var(--paper-2); padding-left: 34px; }
.practice-item:hover::before { transform: scaleY(1); }
.practice-item.is-hidden { display: none; }

.practice-num {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(34px, 3.4vw, 46px);
  color: var(--line); line-height: 1; transition: color 0.3s;
}
.practice-item:hover .practice-num { color: var(--brass); }
.practice-body h3 { font-size: 22px; margin-bottom: 8px; }
.practice-body p { font-size: 14.5px; color: var(--muted); max-width: 62ch; }
.practice-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.practice-tag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-dark);
  border: 1px solid rgba(176, 141, 87, 0.5); padding: 3px 11px; border-radius: 100px;
}
.practice-arrow {
  font-size: 26px; color: var(--brass); opacity: 0; transform: translateX(-12px);
  transition: all 0.3s var(--ease); font-family: var(--font-serif);
}
.practice-item:hover .practice-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: 0.94fr 1.06fr; gap: 80px; align-items: center; }
.studio-media { position: relative; padding-bottom: 70px; }
.studio-img-main { margin-right: 64px; }
.studio-img-main img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; }
.studio-img-small { position: absolute; right: 0; bottom: 0; width: 58%; border: 8px solid var(--ink); }
.studio-img-small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.studio-badge {
  position: absolute; left: -24px; top: 46px; z-index: 3;
  background: var(--brass); color: var(--ink); padding: 16px 22px; text-align: center;
  box-shadow: 0 16px 40px rgba(19, 26, 38, 0.35);
}
.studio-badge-value { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 24px; line-height: 1.1; }
.studio-badge-label { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; }

.studio-text > p { margin-top: 20px; font-size: 16px; color: rgba(246, 242, 233, 0.78); }
.studio-text .section-title { margin-top: 6px; }

.studio-quote {
  margin-top: 30px; padding: 24px 28px; border-left: 3px solid var(--brass);
  background: rgba(246, 242, 233, 0.05);
}
.studio-quote p { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--cream); line-height: 1.5; }
.studio-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; letter-spacing: 0.08em; color: var(--brass-2); }

.timeline { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.timeline li {
  display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark);
  transition: padding-left 0.3s var(--ease);
}
.timeline li:hover { padding-left: 10px; }
.timeline-year { font-family: var(--font-serif); font-weight: 600; color: var(--brass-2); font-size: 18px; }
.timeline-label { font-size: 14.5px; color: rgba(246, 242, 233, 0.7); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.team-card { position: relative; overflow: hidden; background: var(--paper-2); }
.team-card-media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.team-card-media img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.team-card:hover .team-card-media img { transform: scale(1.05); filter: grayscale(0); }
.team-card.no-img .team-card-media { display: flex; align-items: center; justify-content: center; background: var(--ink-3); }
.team-initials {
  display: none; font-family: var(--font-serif); font-size: 64px; color: var(--brass-2);
}
.team-card.no-img .team-initials { display: block; }

.team-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 20px;
  background: linear-gradient(to top, rgba(19, 26, 38, 0.96) 30%, rgba(19, 26, 38, 0) 100%);
  color: var(--cream);
}
.team-name { font-family: var(--font-serif); font-size: 21px; color: var(--cream); }
.team-role { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-2); margin-top: 4px; }
.team-focus { font-size: 13px; color: rgba(246, 242, 233, 0.68); margin-top: 6px; }
.team-links {
  display: flex; gap: 10px; margin-top: 14px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s, margin-top 0.4s var(--ease);
}
.team-card:hover .team-links, .team-card:focus-within .team-links { max-height: 48px; opacity: 1; margin-top: 14px; }
.team-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; padding: 7px 14px;
  border: 1px solid rgba(246, 242, 233, 0.4); border-radius: 2px; transition: all 0.2s;
}
.team-links a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

/* ---------- Results ---------- */
.results-list { border-top: 1px solid var(--line-dark); }
.result-row {
  display: grid; grid-template-columns: 90px 190px 1fr 240px; gap: 26px; align-items: center;
  padding: 28px 20px; border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s var(--ease), padding-left 0.35s var(--ease);
}
.result-row:hover { background: rgba(246, 242, 233, 0.045); padding-left: 28px; }
.result-year { font-family: var(--font-serif); font-style: italic; color: var(--brass-2); font-size: 20px; }
.result-sector { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 242, 233, 0.55); }
.result-desc { font-size: 15.5px; color: rgba(246, 242, 233, 0.85); font-family: var(--font-serif); font-size: 18px; }
.result-outcome {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: #9fceb2;
  border: 1px solid rgba(159, 206, 178, 0.4); padding: 8px 16px; border-radius: 100px;
}

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.testimonial {
  background: var(--paper-2); padding: 40px 38px 32px; position: relative;
  border-top: 2px solid var(--brass);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial::before {
  content: "\201C"; position: absolute; top: 6px; right: 26px;
  font-family: var(--font-serif); font-size: 110px; line-height: 1; color: rgba(176, 141, 87, 0.22);
}
.testimonial-text { font-family: var(--font-serif); font-size: 18.5px; line-height: 1.6; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: var(--brass-2); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 16px;
}
.testimonial-author strong { display: block; font-family: var(--font-serif); font-size: 16px; color: var(--ink); }
.testimonial-author small { font-size: 12.5px; color: var(--muted); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.news-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(176, 141, 87, 0.5); }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.07); }
.news-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 14px; align-items: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.news-meta .news-cat { color: var(--brass-dark); font-weight: 600; }
.news-title { font-size: 21px; margin: 14px 0 10px; line-height: 1.3; }
.news-excerpt { font-size: 14.5px; color: var(--muted); flex: 1; }
.news-more {
  margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-dark); display: inline-flex; align-items: center; gap: 8px;
}
.news-more::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.news-card:hover .news-more::after { transform: translateX(6px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.faq-intro .section-title { margin-top: 6px; }
.faq-intro .btn { margin-top: 30px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: transparent; border: none; text-align: left; padding: 24px 6px;
  font-family: var(--font-serif); font-size: 19px; color: var(--ink); transition: color 0.2s;
}
.faq-q:hover { color: var(--brass-dark); }
.faq-q .faq-icon {
  flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--brass); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brass-dark); font-size: 18px; font-weight: 400; transition: all 0.35s var(--ease);
}
.faq-item.is-open .faq-icon { background: var(--brass); color: var(--ink); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 42px 26px 6px; font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); background-image: radial-gradient(ellipse at 50% 120%, rgba(176, 141, 87, 0.22), transparent 60%); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(246, 242, 233, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(246, 242, 233, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
.cta-inner { position: relative; text-align: center; padding: 104px 0; max-width: 720px; }
.cta-script { font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 16px; }
.cta-title { font-size: clamp(30px, 3.6vw, 44px); color: var(--cream); }
.cta-sub { margin: 20px auto 34px; color: rgba(246, 242, 233, 0.66); max-width: 56ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.contact-form {
  background: var(--paper); border: 1px solid var(--line); padding: 44px 42px;
  box-shadow: 0 24px 60px rgba(19, 26, 38, 0.08);
}
.field { margin-bottom: 24px; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-sans); font-size: 15px;
  color: var(--text); background: var(--cream); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.16);
}
.field textarea { resize: vertical; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field-error { display: none; font-size: 12.5px; color: var(--danger); margin-top: 7px; }
.field.is-invalid .field-error { display: block; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brass); flex-shrink: 0; }
.privacy-error { display: none; font-size: 12.5px; color: var(--danger); margin-bottom: 16px; }
.privacy-error.is-shown { display: block; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--paper-2); border-left: 3px solid var(--brass); padding: 24px 26px; }
.info-card h3 { font-size: 16px; margin-bottom: 10px; letter-spacing: 0.04em; }
.info-card p { font-size: 14.5px; color: var(--text); }
.info-card a { color: var(--brass-dark); transition: color 0.2s; }
.info-card a:hover { color: var(--ink); }
.map-wrap iframe { width: 100%; height: 190px; border: 1px solid var(--line); display: block; filter: sepia(0.18) saturate(0.85); }
.map-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 242, 233, 0.72); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 54px; }
.site-footer .brand-name { color: var(--cream); }
.footer-brand p { margin-top: 18px; font-size: 14px; max-width: 40ch; }
.footer-col h3 { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; padding: 5px 0; transition: color 0.2s, padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--brass-2); padding-left: 6px; }
.footer-col p { font-size: 14.5px; padding: 3px 0; }
.footer-col .footer-h3-mt { margin-top: 26px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(246, 242, 233, 0.5);
}

/* ---------- Modal / Toast / Back-to-top ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(19, 26, 38, 0.72); padding: 20px; animation: fadeIn 0.3s var(--ease);
}
.modal-card {
  position: relative; background: var(--paper); max-width: 480px; width: 100%;
  padding: 48px 42px 40px; text-align: center; border-top: 3px solid var(--brass);
  animation: popIn 0.4s var(--ease);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; background: transparent; border: none;
  font-size: 20px; color: var(--muted); transition: color 0.2s, transform 0.2s;
}
.modal-close:hover { color: var(--danger); transform: rotate(90deg); }
.modal-check svg circle { stroke: var(--ok); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 0.7s 0.2s var(--ease) forwards; }
.modal-check svg path { stroke: var(--ok); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw 0.5s 0.55s var(--ease) forwards; }
.modal-card h3 { font-size: 26px; margin-top: 14px; }
.modal-text { margin-top: 10px; color: var(--muted); font-size: 15px; }
.modal-code-label { margin-top: 22px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.modal-code { font-family: var(--font-serif); font-size: 30px; color: var(--brass-dark); margin: 4px 0 26px; }
.modal[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%);
  background: var(--ink); color: var(--cream); padding: 13px 26px; border-radius: 2px;
  border-left: 3px solid var(--brass); font-size: 14px; z-index: 400;
  box-shadow: var(--shadow); animation: fadeIn 0.3s var(--ease);
}

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 2px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink); font-size: 19px;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--ink); color: var(--cream); }

/* ---------- Team: link sempre visibili su touch ---------- */
@media (hover: none) {
  .team-links { max-height: 48px; opacity: 1; margin-top: 14px; }
  .team-card:hover .team-card-media img, .team-card:focus-within .team-card-media img { transform: none; }
}

/* ---------- Spinner submit ---------- */
.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading { opacity: 0.75; pointer-events: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav { gap: 20px; }
  .primary-nav a { font-size: 12.5px; }
  .hero-grid { gap: 44px; }
  .hero-card { left: 0; }
  .result-row { grid-template-columns: 76px 1fr; gap: 10px 20px; }
  .result-outcome { justify-self: start; }
}

@media (max-width: 960px) {
  .section { padding: 84px 0; }
  .topbar-hidden-sm { display: none; }
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-media { max-width: 560px; }
  .hero-card { left: -18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 24px; }
  .studio-grid { grid-template-columns: 1fr; gap: 60px; }
  .studio-media { max-width: 520px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar-contacts { gap: 14px; }
  .topbar-hours { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .practice-item { grid-template-columns: 64px 1fr; gap: 18px; }
  .practice-arrow { display: none; }
  .result-row { grid-template-columns: 1fr; }
  .result-year, .result-sector { display: inline-block; }
  .contact-form { padding: 34px 24px; }
  .hero-points { gap: 12px; }
  .stats-band { margin-top: 80px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
