
:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --ink: #26332f;
  --muted: #63726d;
  --green: #29463f;
  --green-soft: #dfe8e4;
  --sage: #8ea79e;
  --rose: #bf7c74;
  --sand: #e9dcc8;
  --line: rgba(41, 70, 63, .14);
  --shadow: 0 22px 60px rgba(35, 55, 48, .13);
  --radius: 28px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--green); color: white; padding: .7rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 25px rgba(27,47,41,.06); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; min-width: 0; }
.brand-mark { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: Georgia, serif; font-size: 1.12rem; letter-spacing: .04em; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 600; }
.brand-copy span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .13em; margin-top: .2rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.nav-list a { text-decoration: none; padding: .72rem .9rem; border-radius: 999px; font-size: .92rem; font-weight: 650; color: #45544f; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.nav-cta { background: var(--green) !important; color: white !important; margin-left: .35rem; }
.menu-toggle { display: none; border: 0; background: transparent; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; }
.menu-toggle:hover { background: var(--green-soft); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content:""; display:block; width:22px; height:2px; margin:5px auto; background:var(--green); transition:.25s; }

main { overflow: clip; }
.hero { padding: clamp(3.5rem, 7vw, 7rem) 0 5.5rem; position: relative; }
.hero::before { content:""; position:absolute; width:440px; height:440px; border-radius:50%; background:#e9eee7; filter:blur(2px); top:-210px; left:-180px; z-index:-1; }
.hero-grid { display:grid; grid-template-columns: minmax(0,1.02fr) minmax(380px,.98fr); gap: clamp(2.5rem,6vw,6rem); align-items:center; }
.eyebrow { color: var(--rose); font-size:.78rem; text-transform:uppercase; letter-spacing:.19em; font-weight:800; margin:0 0 1rem; }
h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height:1.12; color:var(--green); }
h1 { font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing:-.045em; margin:.1rem 0 1.35rem; }
h2 { font-size: clamp(2.25rem,4.2vw,4.15rem); letter-spacing:-.035em; margin:0 0 1rem; }
h3 { font-size: clamp(1.35rem,2vw,1.8rem); margin:0 0 .65rem; }
.lead { color:#53635e; font-size:clamp(1.08rem,1.55vw,1.3rem); max-width:650px; margin:0 0 2rem; }
.actions { display:flex; flex-wrap:wrap; gap:.8rem; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; padding:.9rem 1.25rem; border-radius:999px; text-decoration:none; font-weight:750; border:1px solid transparent; transition:transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:var(--green); color:white; box-shadow:0 12px 26px rgba(41,70,63,.18); }
.btn-secondary { border-color:var(--line); background:rgba(255,255,255,.72); color:var(--green); }
.hero-visual { position:relative; min-height:620px; }
.hero-landscape { position:absolute; inset:5% 0 15% 16%; border-radius:180px 28px 180px 28px; object-fit:cover; width:84%; height:80%; box-shadow:var(--shadow); }
.hero-portrait { position:absolute; left:0; bottom:0; width:58%; height:76%; object-fit:cover; object-position:50% 18%; border:10px solid var(--bg); border-radius:150px 150px 24px 24px; box-shadow:var(--shadow); }
.hero-note { position:absolute; right:-1rem; bottom:3%; max-width:230px; background:white; border-radius:20px; padding:1.05rem 1.2rem; box-shadow:var(--shadow); font-family:Georgia,serif; color:var(--green); }
.hero-note small { display:block; color:var(--rose); font-family:inherit; text-transform:uppercase; letter-spacing:.1em; margin-bottom:.3rem; }

.section { padding: clamp(4.5rem,8vw,8rem) 0; }
.section-tight { padding: clamp(3.5rem,6vw,6rem) 0; }
.section-head { max-width:760px; margin-bottom:2.5rem; }
.section-head p { color:var(--muted); font-size:1.08rem; margin:0; }
.tone-green { background:var(--green); color:white; }
.tone-green h2, .tone-green h3 { color:white; }
.tone-green .eyebrow { color:#e9c1b8; }
.tone-green p { color:#e5ece9; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.card { background:var(--surface); padding:clamp(1.5rem,3vw,2.2rem); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 35px rgba(41,70,63,.055); }
.card-number { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--green-soft); color:var(--green); font-weight:800; margin-bottom:1.3rem; }
.card p { color:var(--muted); margin:0; }


/* Riquadri esperienza professionale: superfici materiche e maggiore profondità */
.territory-grid { perspective: 1100px; }
.territory-card {
  position: relative;
  isolation: isolate;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow:
    0 24px 45px rgba(9, 27, 22, .24),
    0 8px 16px rgba(9, 27, 22, .15),
    inset 0 1px 0 rgba(255,255,255,.5);
  transform: translateZ(0);
  transition: transform .28s ease, box-shadow .28s ease;
}
.territory-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(255,255,255,.5), transparent 32%),
    linear-gradient(145deg, #d9e4df 0%, #afc2ba 100%);
}
.territory-card:nth-child(2)::before {
  background:
    radial-gradient(circle at 84% 12%, rgba(255,255,255,.48), transparent 32%),
    linear-gradient(145deg, #ead8d1 0%, #cda49b 100%);
}
.territory-card:nth-child(3)::before {
  background:
    radial-gradient(circle at 84% 12%, rgba(255,255,255,.52), transparent 32%),
    linear-gradient(145deg, #eadfc9 0%, #c7b18d 100%);
}
.territory-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -64px;
  top: -70px;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 0 0 24px rgba(255,255,255,.08), 0 0 0 48px rgba(255,255,255,.045);
}
.territory-card:hover {
  transform: translateY(-9px) rotateX(1.5deg);
  box-shadow:
    0 34px 58px rgba(9, 27, 22, .29),
    0 12px 22px rgba(9, 27, 22, .17),
    inset 0 1px 0 rgba(255,255,255,.58);
}
.territory-card h3,
.tone-green .territory-card h3 { color: var(--green); }
.territory-card p,
.tone-green .territory-card p { color: #394b45; }
.territory-card-index {
  position: absolute;
  top: 1.35rem;
  left: 1.45rem;
  color: rgba(41,70,63,.58);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.approach-heading { margin-bottom:2rem; }
.approach-manifesto {
  position:relative;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:clamp(2rem,5vw,5rem);
  padding:clamp(2rem,5vw,4.5rem);
  border:1px solid rgba(255,255,255,.18);
  border-radius:36px;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
}
.approach-manifesto::after {
  content:"“";
  position:absolute;
  right:clamp(1rem,4vw,3rem);
  top:-2.2rem;
  color:rgba(255,255,255,.07);
  font:700 clamp(9rem,22vw,18rem)/1 Georgia,serif;
  pointer-events:none;
}
.approach-rail {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:1.5rem;
  padding-left:1.4rem;
  border-left:1px solid rgba(255,255,255,.35);
}
.approach-rail span {
  color:#f0c9c1;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.approach-text { position:relative; z-index:1; max-width:820px; }
.tone-green .approach-text p { color:#edf3f0; margin:0; font-size:clamp(1.02rem,1.35vw,1.16rem); }
.tone-green .approach-text p+p { margin-top:1.35rem; }
.tone-green .approach-text .approach-opening {
  color:white;
  font:500 clamp(1.35rem,2.2vw,2rem)/1.45 Georgia,serif;
  letter-spacing:-.015em;
}
.yalom-quote { max-width:920px; font-size:clamp(2.5rem,5vw,4.35rem) !important; line-height:1.14; letter-spacing:-.035em; }
.quote-author { margin:1.2rem 0 0; color:#f0c9c1; font-size:.86rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.quote-section { position:relative; min-height:530px; display:grid; align-items:center; background-size:cover; background-position:center; }
.quote-section::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(28,51,45,.88),rgba(28,51,45,.44)); }
.quote-box { position:relative; z-index:1; max-width:720px; color:white; padding:4rem 0; }
.quote-box blockquote { margin:0; font:500 clamp(2rem,4.2vw,4rem)/1.2 Georgia,serif; letter-spacing:-.03em; }
.quote-box p { margin:1.5rem 0 0; color:#e3ece8; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,6vw,6rem); align-items:center; }
.rounded-image { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); }
.pill-list { display:flex; flex-wrap:wrap; gap:.65rem; padding:0; margin:1.5rem 0 0; list-style:none; }
.pill-list li { padding:.6rem .85rem; background:var(--green-soft); border-radius:999px; color:var(--green); font-weight:650; font-size:.9rem; }

.page-hero { padding:clamp(3rem,6vw,6rem) 0 4rem; }
.page-hero-inner { min-height:470px; border-radius:36px; overflow:hidden; position:relative; display:flex; align-items:flex-end; background-size:cover; background-position:center; box-shadow:var(--shadow); }
.page-hero-inner::before { content:""; position:absolute; inset:0; background:linear-gradient(110deg,rgba(27,49,43,.92) 0%,rgba(27,49,43,.55) 52%,rgba(27,49,43,.2) 100%); }
.page-hero-copy { position:relative; z-index:1; padding:clamp(2rem,6vw,5rem); max-width:780px; color:white; }
.page-hero-copy h1 { color:white; font-size:clamp(3rem,6vw,5.2rem); }
.page-hero-copy .lead { color:#eef4f1; }
.page-hero-copy .eyebrow { color:#f0c9c1; }

.timeline { position:relative; margin-top:2rem; }
.timeline::before { content:""; position:absolute; left:22px; top:12px; bottom:12px; width:1px; background:var(--line); }
.timeline-item { position:relative; display:grid; grid-template-columns:46px 1fr; gap:1.2rem; padding:0 0 2.4rem; }
.timeline-dot { width:45px; height:45px; display:grid; place-items:center; border-radius:50%; background:var(--green); color:white; font-size:.78rem; font-weight:800; z-index:1; }
.timeline-content { padding:.45rem 0 0; }
.timeline-content p { color:var(--muted); margin:.35rem 0 0; }
.timeline-content strong { color:var(--rose); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; }

.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.service-card { min-height:330px; display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; }
.service-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:var(--green-soft); color:var(--green); margin-bottom:2rem; }
.service-icon svg { width:27px; height:27px; }
.service-card ul { color:var(--muted); padding-left:1.1rem; margin:.9rem 0 0; }
.service-card li+li { margin-top:.35rem; }
.service-card:nth-child(2), .service-card:nth-child(5) { background:#f1e7df; }
.service-card:nth-child(3), .service-card:nth-child(6) { background:#e8efec; }
.notice { border-left:4px solid var(--rose); background:#fff; padding:1.2rem 1.4rem; border-radius:0 18px 18px 0; color:var(--muted); }

.contact-layout { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,6vw,5rem); align-items:start; }
.contact-photo { width:100%; height:720px; object-fit:cover; border-radius:32px; box-shadow:var(--shadow); }
.contact-panel { background:white; border:1px solid var(--line); border-radius:32px; padding:clamp(1.5rem,4vw,3rem); }
.contact-list { display:grid; gap:1rem; margin:1.7rem 0 2rem; }
.contact-item { display:grid; grid-template-columns:46px 1fr; gap:1rem; align-items:start; text-decoration:none; padding:1rem; border-radius:18px; background:#f7f5f0; }
.contact-item:hover { background:var(--green-soft); }
.contact-item .icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:white; color:var(--green); }
.contact-item strong { display:block; color:var(--green); }
.contact-item span { color:var(--muted); font-size:.94rem; }
.studio-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:2rem 0; }
.studio-card { border:1px solid var(--line); border-radius:20px; padding:1.2rem; }
.studio-card p { color:var(--muted); margin:.3rem 0 .8rem; }
.text-link { color:var(--green); font-weight:750; text-underline-offset:3px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.field { display:grid; gap:.35rem; }
.field-full { grid-column:1/-1; }
label { font-size:.88rem; font-weight:700; color:var(--green); }
input, textarea { width:100%; border:1px solid rgba(41,70,63,.2); background:#fff; border-radius:14px; padding:.85rem 1rem; color:var(--ink); }
textarea { min-height:140px; resize:vertical; }
input:focus, textarea:focus { outline:3px solid rgba(142,167,158,.28); border-color:var(--sage); }
.check { display:flex; align-items:flex-start; gap:.65rem; color:var(--muted); font-size:.88rem; }
.check input { width:auto; margin-top:.35rem; }
.honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.form-status { display:none; padding:1rem 1.1rem; border-radius:14px; margin-bottom:1rem; }
.form-status.show { display:block; }
.form-status.ok { background:#dfeee6; color:#24553e; }
.form-status.error { background:#f7e2df; color:#7a302b; }

.legal { max-width:860px; }
.legal h2 { font-size:2rem; margin-top:2.5rem; }
.legal h3 { font-size:1.3rem; margin-top:2rem; }
.legal p, .legal li { color:var(--muted); }

.cta-strip { background:#e9e1d4; border-radius:32px; padding:clamp(2rem,5vw,4rem); display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.cta-strip h2 { font-size:clamp(2rem,4vw,3.6rem); max-width:700px; }
.site-footer { background:#203a34; color:white; padding:4.5rem 0 1.5rem; margin-top:5rem; }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr .75fr; gap:3rem; }
.footer-title { font:500 1.7rem Georgia,serif; margin:0 0 .8rem; }
.footer-copy { color:#cad8d3; max-width:420px; }
.footer-heading { color:#e8c2ba; font-size:.76rem; text-transform:uppercase; letter-spacing:.16em; font-weight:800; margin:0 0 1rem; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:.55rem; }
.footer-links a { color:#e7efec; text-decoration:none; }
.footer-links a:hover { text-decoration:underline; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.13); margin-top:3rem; padding-top:1.4rem; color:#b8c9c3; font-size:.86rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 930px) {
  .menu-toggle { display:block; }
  .site-nav { position:fixed; top:78px; left:1rem; right:1rem; background:var(--surface); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); padding:.7rem; opacity:0; transform:translateY(-12px); pointer-events:none; transition:.25s; }
  .site-nav.open { opacity:1; transform:none; pointer-events:auto; }
  .nav-list { display:grid; }
  .nav-list a { display:block; }
  .nav-cta { margin:0; text-align:center; }
  .hero-grid, .split, .contact-layout { grid-template-columns:1fr; }
  .hero-copy { max-width:760px; }
  .hero-visual { min-height:620px; max-width:680px; width:100%; margin:auto; }
  .grid-3 { grid-template-columns:1fr; }
  .approach-manifesto { grid-template-columns:1fr; }
  .approach-rail { flex-direction:row; flex-wrap:wrap; border-left:0; border-top:1px solid rgba(255,255,255,.35); padding:1rem 0 0; }
  .services-grid { grid-template-columns:1fr; }
  .contact-photo { height:560px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :first-child { grid-column:1/-1; }
}
@media (max-width: 620px) {
  .container { width:min(calc(100% - 1.2rem), var(--max)); }
  .header-inner { min-height:76px; }
  .brand-copy span { display:none; }
  .brand-copy strong { font-size:1rem; }
  .hero { padding-top:2.8rem; }
  .hero-grid { gap:2rem; }
  h1 { font-size:clamp(2.8rem,15vw,4.1rem); }
  .hero-visual { min-height:490px; }
  .hero-landscape { inset:0 0 18% 11%; width:89%; height:76%; border-radius:110px 22px 110px 22px; }
  .hero-portrait { width:62%; height:72%; border-width:7px; }
  .hero-note { right:0; max-width:190px; font-size:.88rem; }
  .page-hero-inner { min-height:430px; border-radius:24px; }
  .page-hero-copy { padding:2rem 1.4rem; }
  .yalom-quote { font-size:clamp(2.15rem,10vw,3rem) !important; }
  .approach-manifesto { padding:1.6rem; border-radius:24px; }
  .studio-grid, .form-grid { grid-template-columns:1fr; }
  .field-full { grid-column:auto; }
  .contact-photo { height:460px; }
  .cta-strip { align-items:flex-start; flex-direction:column; border-radius:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :first-child { grid-column:auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}

/* ===== Rifiniture release finale ===== */

/* Riquadri dell'esperienza: classi collegate esplicitamente all'HTML */
.territory-grid { align-items: stretch; }
.territory-card {
  padding-top: 4.5rem;
  background: transparent;
}
.territory-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: .85rem;
}
.territory-card p {
  position: relative;
  z-index: 1;
  line-height: 1.65;
}

/* Servizi: tutte le card hanno una superficie cromatica e profondità */
.service-card {
  isolation: isolate;
  border-color: rgba(41,70,63,.12);
  box-shadow:
    0 20px 45px rgba(35,55,48,.11),
    inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card::before {
  content: attr(data-service-index);
  position: absolute;
  top: 1.55rem;
  right: 1.7rem;
  z-index: -1;
  font: 600 3.4rem/1 Georgia, serif;
  color: rgba(41,70,63,.075);
}
.service-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -85px;
  bottom: -95px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(41,70,63,.1);
  box-shadow: 0 0 0 26px rgba(255,255,255,.16), 0 0 0 52px rgba(255,255,255,.08);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 58px rgba(35,55,48,.16),
    inset 0 1px 0 rgba(255,255,255,.8);
}
.service-tone-1,
.service-card:nth-child(1),
.service-card:nth-child(4) {
  background: linear-gradient(145deg, #edf2ef 0%, #dce8e3 100%);
}
.service-tone-2,
.service-card:nth-child(2),
.service-card:nth-child(5) {
  background: linear-gradient(145deg, #f5ebe7 0%, #ead7d1 100%);
}
.service-tone-3,
.service-card:nth-child(3),
.service-card:nth-child(6) {
  background: linear-gradient(145deg, #f4eee3 0%, #e7d9c1 100%);
}
.service-card h3 { position: relative; z-index: 1; }
.service-card p,
.service-card ul { position: relative; z-index: 1; color: #4f625b; }
.service-card .service-icon {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(41,70,63,.09);
}

/* LinkedIn */
.linkedin-section { padding-top: clamp(3.5rem,6vw,6rem); padding-bottom: 0; }
.linkedin-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2rem,5vw,4rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(135deg, #dfe8e4 0%, #eee4d5 100%);
  border: 1px solid rgba(41,70,63,.12);
  box-shadow: 0 20px 52px rgba(35,55,48,.1);
}
.linkedin-panel > div { max-width: 720px; }
.linkedin-panel h2 { font-size: clamp(2rem,3.8vw,3.35rem); }
.linkedin-panel p:not(.eyebrow) { margin: 0; color: var(--muted); }
.btn-linkedin {
  flex: 0 0 auto;
  background: #29463f;
  color: #fff;
  box-shadow: 0 12px 26px rgba(41,70,63,.18);
}
.btn-linkedin svg { width: 20px; height: 20px; }

/* Mappe caricate soltanto su richiesta */
.studio-card-map {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #fbfaf7 0%, #f1eee6 100%);
  box-shadow: 0 12px 30px rgba(35,55,48,.07);
  overflow: hidden;
}
.studio-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-top: auto;
}
.map-toggle {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: .7rem 1rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 9px 22px rgba(41,70,63,.16);
}
.map-toggle:hover { transform: translateY(-2px); }
.map-toggle:focus-visible,
.btn:focus-visible,
.text-link:focus-visible,
.nav-list a:focus-visible,
.contact-item:focus-visible {
  outline: 3px solid rgba(191,124,116,.45);
  outline-offset: 3px;
}
.route-link { font-size: .9rem; }
.map-embed {
  width: 100%;
  margin-top: 1rem;
  border-radius: 15px;
  overflow: hidden;
  background: #e5e9e5;
  box-shadow: inset 0 0 0 1px rgba(41,70,63,.12);
}
.map-embed[hidden] { display: none; }
.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
.map-privacy-note {
  margin: .75rem 0 0 !important;
  font-size: .76rem;
  line-height: 1.45;
  color: #74817c !important;
}

@media (max-width: 930px) {
  .linkedin-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .territory-card { min-height: 250px; }
  .service-card { min-height: 0; }
  .linkedin-panel { border-radius: 24px; }
  .btn-linkedin { width: 100%; }
  .studio-actions { align-items: stretch; flex-direction: column; }
  .map-toggle, .route-link { width: 100%; text-align: center; }
}
