@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:wght@400;500;600&display=swap');
:root{--green:#071e17;--gold:#c99a43;--gold2:#e6bd68;--cream:#f7f1e6;--ink:#171713;--muted:#625f56;--line:#d9c49b}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.65 'Playfair Display',Georgia,serif}a{color:inherit;text-decoration:none}.wrap{width:min(1280px,calc(100% - 64px));margin:auto}.topbar{background:var(--green);color:#f4eee3;border-bottom:1px solid #b68a3b55}.nav{height:100px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:20px}.monogram{font-size:66px;line-height:1;color:var(--gold2);letter-spacing:-8px;border-right:1px solid var(--gold2);padding-right:23px}.brandname{font-size:30px;line-height:1.05;letter-spacing:1px}.brandname small{display:block;font:13px 'DM Sans';letter-spacing:9px;margin-top:8px}.nav nav,nav{display:flex;gap:36px;align-items:center;font-size:20px}.nav nav a{padding:12px 0;border-bottom:3px solid transparent}.nav nav a:hover,.nav nav a.active{border-color:var(--gold2)}.menu{display:none}.hero{min-height:600px;background:linear-gradient(90deg,#071e1740,#07120ed1),url('copertina-studio.jpg') center 53%/cover;display:flex;align-items:center;color:#fff}.hero-inner{display:flex;justify-content:flex-end}.hero-copy{max-width:660px;text-align:center;padding:65px 0}.hero h1,.pagehero h1{font-size:clamp(44px,5.2vw,76px);font-weight:400;line-height:1.12;margin:0 0 20px}.hero h1 em,.pagehero em{color:var(--gold2)}.hero p{font-size:25px;line-height:1.35;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.9);font-weight:500}.hero-copy{background:linear-gradient(90deg,rgba(5,17,13,.12),rgba(5,17,13,.48),rgba(5,17,13,.12));padding:65px 28px;border-radius:2px}.pagehero p{font-size:21px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.85)}.rule{width:90px;height:3px;background:var(--gold2);margin:28px auto}.btn{display:inline-flex;gap:22px;padding:13px 24px;border:2px solid var(--gold2);color:inherit;text-transform:uppercase;letter-spacing:1px;font-size:15px;margin-top:15px}.btn:hover{background:var(--gold2);color:var(--green)}.btn.dark{color:var(--green);border-color:var(--gold)}.services{padding:30px 0;border-bottom:1px solid var(--line)}.servicegrid{display:grid;grid-template-columns:repeat(4,1fr)}.servicegrid article{padding:10px 28px;border-right:1px solid var(--line)}.servicegrid article:last-child{border:0}.servicegrid i,.four i{font-style:normal;color:var(--gold);font-size:42px}.servicegrid h2{font-size:28px;margin:0}.servicegrid p{font-size:18px;margin:0}.section{padding:85px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.photo{width:100%;height:390px;object-fit:cover}.eyebrow{font:12px 'DM Sans';letter-spacing:4px;text-transform:uppercase;color:var(--gold)}h2{font-size:clamp(34px,4vw,52px);line-height:1.15;font-weight:400;color:var(--green);margin:15px 0 22px}p{color:var(--muted)}.darksection{background:linear-gradient(90deg,#061c14ed,#061c14d9),url('copertina-studio.jpg') center/cover;color:#fff;padding:80px 0}.darksection h2,.darksection h3,.darksection p{color:#f7f1e6}.four{display:grid;grid-template-columns:repeat(4,1fr);margin:40px 0}.four article{padding:20px 25px;border-right:1px solid var(--gold)}.four article:last-child{border:0}.four h3{font-size:26px;font-weight:400}.cta{background:var(--green);color:white;padding:35px 0}.ctainner{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{color:white;font-size:32px;margin:0}.cta p{color:#e5dece;margin:0}.pagehero{padding:90px 0;background:linear-gradient(90deg,#061c14ed,#061c1480),url('copertina-studio.jpg') center/cover;color:white}.pagehero p{font-size:21px;color:#eee5d8}.activitygrid,.locations{display:grid;grid-template-columns:1fr 1fr;gap:20px}.activitygrid article,.locations article,form{padding:30px;background:#fffaf1;border:1px solid var(--line)}.activitygrid b{font:13px 'DM Sans';letter-spacing:2px;color:var(--gold)}.activitygrid h2,.locations h2{font-size:30px}.contactgrid{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px}form label{display:block;font:13px 'DM Sans';margin:12px 0}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #cbbd9f;background:white;font:16px 'DM Sans';margin-top:5px}textarea{min-height:100px}.small{font-size:12px}footer{background:#04150f;color:#e9e0d0;padding:30px 0;font:13px 'DM Sans'}.foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.foot a{color:var(--gold2)}@media(max-width:900px){.wrap{width:calc(100% - 36px)}.nav{height:auto;min-height:85px;flex-wrap:wrap;padding:14px 0}.brandname{font-size:22px}.monogram{font-size:54px}.menu{display:block;background:none;color:white;border:1px solid var(--gold);padding:8px 12px;font-size:20px}.nav nav{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:5px;padding:0 0 12px}.nav nav.open{display:flex}.hero{min-height:540px;background-position:42% center}.hero-inner{justify-content:center}.hero-copy{padding:60px 0}.hero p{font-size:21px}.servicegrid{grid-template-columns:1fr 1fr}.servicegrid article:nth-child(2){border-right:0}.split,.contactgrid{grid-template-columns:1fr}.photo{height:300px}.four{grid-template-columns:1fr 1fr}.four article:nth-child(2){border:0}.activitygrid,.locations{grid-template-columns:1fr}.ctainner{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.wrap{width:calc(100% - 30px)}.brand{gap:13px}.brandname{font-size:17px}.brandname small{font-size:10px;letter-spacing:7px}.monogram{font-size:44px;padding-right:15px}.hero{min-height:490px}.hero h1,.pagehero h1{font-size:42px}.hero p{font-size:18px}.servicegrid{grid-template-columns:1fr}.servicegrid article{border-right:0;border-bottom:1px solid var(--line);padding:17px 5px}.four{grid-template-columns:1fr}.four article{border-right:0;border-bottom:1px solid var(--gold)}.section{padding:60px 0}.pagehero{padding:65px 0}}
/* Attività: impaginazione editoriale */
.activity-section{padding-top:58px}
.activity-intro{display:grid;grid-template-columns:1.05fr .95fr;min-height:310px;background:#eee5d5;margin-bottom:48px;align-items:stretch}
.activity-image{min-height:310px;background:linear-gradient(90deg,rgba(5,24,17,.04),rgba(5,24,17,.12)),url('copertina-studio.jpg') center 58%/cover}
.activity-intro-copy{padding:42px 52px;display:flex;flex-direction:column;justify-content:center}
.activity-intro-copy h2{font-size:clamp(32px,3.4vw,46px);max-width:480px;margin:13px 0 14px}
.activity-intro-copy p{font-size:17px;max-width:520px;margin:0}
.activitygrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.activitygrid article{grid-column:span 2;position:relative;overflow:hidden;min-height:238px;padding:30px 30px 27px;background:#fffaf1;border:1px solid #ddcba9;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.activitygrid article:nth-child(4){grid-column:2 / span 2}
.activitygrid article:nth-child(5){grid-column:4 / span 2}
.activitygrid article:after{content:"";position:absolute;right:-26px;bottom:-48px;width:150px;height:150px;border:1px solid rgba(185,139,59,.22);border-radius:50%;box-shadow:0 0 0 18px rgba(185,139,59,.035),0 0 0 36px rgba(185,139,59,.025);pointer-events:none}
.activitygrid article:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(38,31,19,.08);border-color:var(--gold)}
.activitygrid b{display:flex;align-items:center;gap:12px;font:11px 'DM Sans';letter-spacing:2.4px;color:#ad7b2d}
.activitygrid b:before{content:"";width:24px;height:1px;background:var(--gold)}
.activitygrid h2{font-size:clamp(25px,2.2vw,31px);margin:22px 0 13px;max-width:380px}
.activitygrid p{font-size:16px;line-height:1.65;max-width:410px;margin:0}
@media(max-width:900px){.activity-intro{grid-template-columns:1fr 1fr}.activity-intro-copy{padding:30px}.activitygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.activitygrid article,.activitygrid article:nth-child(4),.activitygrid article:nth-child(5){grid-column:auto}.activitygrid article:last-child{grid-column:1 / -1}}
@media(max-width:600px){.activity-intro{grid-template-columns:1fr}.activity-image{min-height:220px}.activity-intro-copy{padding:28px 24px}.activitygrid{grid-template-columns:1fr}.activitygrid article,.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:last-child{grid-column:auto;min-height:0;padding:27px 24px}.activity-section{padding-top:35px}}

/* Sei aree di attività: griglia regolare su due righe */
.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:nth-child(6){grid-column:span 2}
@media(max-width:900px){.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:nth-child(6){grid-column:auto}}
@media(max-width:600px){.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:nth-child(6){grid-column:auto}}

/* Homepage: testo e invito della sezione Lo Studio sono entrambi cliccabili */
.studio-teaser-link{display:block;color:inherit;text-decoration:none;cursor:pointer}
.studio-teaser-link h2,.studio-teaser-link p{transition:color .2s ease}
.studio-teaser-link:hover h2{color:var(--gold)}
.studio-teaser-link:focus-visible,.studio-teaser-copy .btn:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.studio-teaser-copy .btn{display:inline-flex;margin-top:18px}

/* Sezione editoriale Lo Studio: fotografia autentica della targa e testo cliccabile */
.studio{--studio-bg:#fcf5ec;--studio-ink:#11201f;--studio-text:#2b2b2b;--studio-gold:#b8912f;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.2fr);background:var(--studio-bg);font-family:Georgia,"Times New Roman",serif;color:var(--studio-text);margin:0}
.studio__photo{margin:0;min-height:320px;overflow:hidden}
.studio__photo img{display:block;width:100%;height:100%;min-height:320px;object-fit:cover;object-position:center}
.studio__body{align-self:center;padding:clamp(2rem,5vw,4.5rem);max-width:42rem}
.studio__eyebrow{display:inline-block;margin:0 0 1.2rem;padding-bottom:.55rem;border-bottom:2px solid var(--studio-gold);font:600 .85rem Inter,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--studio-ink)}
.studio__text-link{display:block;color:inherit;text-decoration:none}
.studio__title{margin:0 0 1.1rem;font-size:clamp(2rem,3.6vw,3.1rem);font-weight:400;line-height:1.1;letter-spacing:-.01em;color:var(--studio-ink)}
.studio__title em{font-style:italic;color:var(--studio-gold)}
.studio__text{margin:0 0 1.5rem;font-size:1.08rem;line-height:1.6;max-width:34rem}
.studio__text-link:hover .studio__title{color:#8f6b27}
.studio__cta{display:inline-flex;align-items:center;gap:.9rem;padding:.85rem 1.4rem;border:1px solid var(--studio-gold);font:500 .88rem Inter,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--studio-ink);transition:background .2s,color .2s}
.studio__cta:hover,.studio__cta:focus-visible{background:var(--studio-ink);color:var(--studio-bg)}
.studio__text-link:focus-visible,.studio__cta:focus-visible{outline:2px solid var(--studio-gold);outline-offset:4px}
@media(max-width:800px){.studio{grid-template-columns:1fr}.studio__photo{aspect-ratio:4/3;min-height:0}.studio__photo img{min-height:0}.studio__body{max-width:none}}

/* Restyling Attività: immagine dedicata e sei schede bilanciate */
.activity-intro{grid-template-columns:1fr 1fr;min-height:340px;margin-bottom:56px;background:#f1e8d9;border:1px solid rgba(185,139,59,.28)}
.activity-image{min-height:340px;background:linear-gradient(180deg,rgba(7,30,23,.02),rgba(7,30,23,.12)),url('targa-notaio.jpg') center 48%/cover}
.activity-intro-copy{padding:clamp(28px,4vw,58px);max-width:640px}
.activity-intro-copy .eyebrow{display:inline-block;padding-bottom:10px;border-bottom:1px solid var(--gold)}
.activity-intro-copy h2{font-size:clamp(30px,3vw,43px);line-height:1.12;margin:18px 0 16px;max-width:440px}
.activity-intro-copy p{font-size:17px;line-height:1.75;max-width:470px}
.activitygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.activitygrid article,.activitygrid article:nth-child(n){grid-column:auto;display:flex;flex-direction:column;align-items:flex-start;min-height:250px;padding:32px 32px 30px;background:linear-gradient(145deg,#fffdf8 0%,#f8f0e4 100%);border:1px solid #ddc9a4;border-radius:2px;box-shadow:0 5px 18px rgba(41,31,15,.035);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.activitygrid article:before{content:"";display:block;width:34px;height:2px;background:var(--gold);margin-bottom:22px}
.activitygrid article:after{right:-35px;bottom:-62px;width:155px;height:155px;border-color:rgba(185,139,59,.15);box-shadow:0 0 0 16px rgba(185,139,59,.025),0 0 0 32px rgba(185,139,59,.018)}
.activitygrid article:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(38,31,19,.09);border-color:#c99a43}
.activitygrid b{font-size:10px;letter-spacing:2px;line-height:1.5}
.activitygrid h2{font-size:clamp(24px,2vw,29px);line-height:1.18;margin:15px 0 13px;max-width:100%}
.activitygrid p{font-size:15.5px;line-height:1.7;margin-top:0;max-width:100%}
@media(max-width:1000px){.activitygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.activitygrid article,.activitygrid article:nth-child(n){min-height:230px}}
@media(max-width:700px){.activity-intro{grid-template-columns:1fr;margin-bottom:34px}.activity-image{min-height:250px}.activity-intro-copy{padding:28px 25px}.activitygrid{grid-template-columns:1fr;gap:15px}.activitygrid article,.activitygrid article:nth-child(n){min-height:0;padding:27px 25px}.activitygrid h2{font-size:26px}}

/* Cornice desktop centrata: larghezza visiva come il sito Artyou */
@media (min-width: 1100px){
  body{background:#1b2420}
  body>header.topbar,
  body>main,
  body>footer{width:100%;max-width:1296px;margin-left:auto;margin-right:auto}
  body>header.topbar,body>footer{box-shadow:0 0 34px rgba(0,0,0,.18)}
}
@media (max-width:1099px){
  body>header.topbar,body>main,body>footer{width:100%;max-width:none}
}

/* Fascia categorie homepage: fondo avorio e testo ad alto contrasto */
.services{background:#f7f1e6!important;color:#10251f;border-top:1px solid #e5d7bf;border-bottom:1px solid #e5d7bf}
.services .servicegrid article{background:transparent}
.services .servicegrid h2{color:#10251f}
.services .servicegrid p{color:#5f5548}
.services .servicegrid article{border-right-color:#d8c6a4}
.services .servicegrid i{color:#b98b3b}
@media(max-width:900px){.services .servicegrid article{border-bottom-color:#d8c6a4}}

/* Homepage - sezione Le sedi su fondo avorio */
.section:has(.split){background:#f7f1e6;color:#171713}
.section:has(.split) h2{color:#071e17}
.section:has(.split) p{color:#625f56}
.section:has(.split) .btn.dark{color:#071e17;border-color:#c99a43}

/* Ombra laterale morbida sulla cornice del sito */
@media (min-width:1100px){
  body>header.topbar,
  body>main,
  body>footer{
    box-shadow:-18px 0 30px -13px rgba(0,0,0,.62),18px 0 30px -13px rgba(0,0,0,.62);
    position:relative;
    z-index:1;
  }
}

/* Pagina Attività: il fondo esterno della sezione resta avorio */
.activity-section{background:#f7f1e6!important;color:#171713}
.activity-section .activity-intro{background:#f1e8d9}
.activity-section .activity-intro-copy h2,
.activity-section .activitygrid h2{color:#071e17}
.activity-section .activity-intro-copy p,
.activity-section .activitygrid p{color:#625f56}


/* Pagina Sedi: fondo avorio e mappe Google integrate nelle schede */
.locations-section{background:#f7f1e6!important}
.locations-section .locations{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.locations-section .location-card{display:flex;flex-direction:column;align-items:flex-start;padding:34px 32px 30px;background:#fffaf1;border:1px solid #ddc9a4;box-shadow:0 8px 24px rgba(41,31,15,.045)}
.locations-section .location-card h2{font-size:clamp(30px,2.6vw,38px);margin:12px 0 10px;color:#071e17}
.locations-section .location-address{font-size:17px;line-height:1.7;margin:0 0 20px;color:#625f56}
.location-map{width:100%;height:190px;margin:0 0 18px;overflow:hidden;border:1px solid #dfd0b5;background:#eee5d5}
.location-map iframe{display:block;width:100%;height:100%;border:0;filter:sepia(.12) saturate(.82)}
.locations-section .location-card .btn{margin-top:auto}
@media(max-width:700px){.locations-section .locations{grid-template-columns:1fr}.locations-section .location-card{padding:26px 22px}.location-map{height:210px}}


/* Contatti: l'intera sezione, inclusa la colonna informativa, resta avorio */
.section:has(.contactgrid){background:#f7f1e6!important;color:#171713}
.section:has(.contactgrid) .contactgrid>div h2{color:#071e17}
.section:has(.contactgrid) .contactgrid>div p{color:#625f56}
.section:has(.contactgrid) .contactgrid>div a{color:#625f56}
.section:has(.contactgrid) .contactgrid>div a:hover{color:#9b742d}
.section:has(.contactgrid) form{background:#fffaf1;border:1px solid #ddc9a4}
.section:has(.contactgrid) form h2{color:#071e17}


/* Pagina Il Notaio: ritratto verticale e scheda biografica affiancata */
.profile-section{background:#f7f1e6;padding-top:72px;padding-bottom:92px}
.profile-grid{display:grid;grid-template-columns:minmax(230px, .72fr) minmax(0,1.28fr);gap:clamp(34px,6vw,82px);align-items:start;max-width:1080px;margin:0 auto}
.profile-portrait{margin:0;max-width:340px;width:100%}
.profile-portrait img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;border:1px solid #ddc9a4;box-shadow:0 16px 38px rgba(28,27,20,.12)}
.profile-portrait figcaption{font:11px/1.5 'DM Sans',Arial,sans-serif;color:#746b5d;margin-top:10px}
.profile-copy .eyebrow{display:inline-block;margin-bottom:8px}
.profile-copy h2{font-size:clamp(34px,4vw,48px);margin:8px 0 18px}
.profile-copy p{font-size:17px;line-height:1.8}
.profile-copy .profile-lead{font-size:20px;color:#273b34}
.profile-timeline{border-left:1px solid #c99a43;margin:28px 0;padding-left:22px;display:grid;gap:20px}
.profile-timeline>div{display:grid;grid-template-columns:70px 1fr;gap:16px;align-items:start}
.profile-timeline strong{font:600 15px 'DM Sans',Arial,sans-serif;color:#a77a2e;letter-spacing:.08em}
.profile-timeline span{color:#625f56;line-height:1.7}
.profile-copy .profile-note{font-size:14px;border-top:1px solid #ddc9a4;padding-top:18px;margin-top:28px}
@media(max-width:700px){.profile-grid{grid-template-columns:1fr;gap:28px}.profile-portrait{max-width:260px;margin:0 auto}.profile-copy h2{text-align:left}.profile-timeline>div{grid-template-columns:58px 1fr}}

/* Cookie banner e controllo preventivo dei contenuti esterni */
.cookie-banner{position:fixed;z-index:9999;left:24px;right:24px;bottom:24px;max-width:980px;margin:0 auto;background:#fffaf1;color:#17221d;border:1px solid #c99a43;box-shadow:0 18px 60px #0005;padding:26px 30px;font-family:'DM Sans',Arial,sans-serif}
.cookie-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.cookie-copy{max-width:610px}.cookie-kicker{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#a9792e}.cookie-copy h2{font:400 27px/1.2 'Playfair Display',Georgia,serif;color:#071e17;margin:8px 0}.cookie-copy p{font-size:13px;line-height:1.55;margin:8px 0;color:#514e46}.cookie-copy>a{font-size:12px;text-decoration:underline;color:#614719}.cookie-actions{display:flex;flex-direction:column;gap:8px;min-width:180px}.cookie-actions button,.cookie-save{padding:11px 14px;border:1px solid #b98a37;background:transparent;color:#10231b;font:600 12px 'DM Sans',Arial,sans-serif;cursor:pointer}.cookie-actions .cookie-accept,.cookie-save{background:#0b281e;color:#fffaf1;border-color:#0b281e}.cookie-actions button:hover,.cookie-save:hover{filter:brightness(1.12)}.cookie-preferences{border-top:1px solid #e0d3bd;margin-top:18px;padding-top:14px;font-size:13px}.cookie-preferences label{display:flex;align-items:center;gap:8px;margin:9px 0}.cookie-preferences label small{color:#766f62}.cookie-preferences input{width:auto;margin:0}.cookie-preferences button{margin-top:8px}.location-map{position:relative;min-height:230px;background:#eee5d5}.location-map iframe{display:block;width:100%;height:230px;border:0}.map-consent-placeholder{min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:22px;background:#f7f1e6;color:#17221d}.map-consent-placeholder span{font:20px 'Playfair Display',Georgia,serif}.map-consent-placeholder p{font:13px/1.5 'DM Sans',Arial,sans-serif;max-width:360px}.map-load-button{border:1px solid #c99a43;background:#fffaf1;padding:10px 16px;color:#10231b;font:600 12px 'DM Sans',Arial,sans-serif;cursor:pointer}
@media(max-width:700px){.cookie-banner{left:10px;right:10px;bottom:10px;padding:20px;max-height:85vh;overflow:auto}.cookie-inner{display:block}.cookie-actions{margin-top:16px}.cookie-copy h2{font-size:24px}}

/* Attività: impaginazione editoriale */
.activity-section{padding-top:58px}
.activity-intro{display:grid;grid-template-columns:1.05fr .95fr;min-height:310px;background:#eee5d5;margin-bottom:48px;align-items:stretch}
.activity-image{min-height:310px;background:linear-gradient(90deg,rgba(5,24,17,.04),rgba(5,24,17,.12)),url('copertina-studio.jpg') center 58%/cover}
.activity-intro-copy{padding:42px 52px;display:flex;flex-direction:column;justify-content:center}
.activity-intro-copy h2{font-size:clamp(32px,3.4vw,46px);max-width:480px;margin:13px 0 14px}
.activity-intro-copy p{font-size:17px;max-width:520px;margin:0}
.activitygrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.activitygrid article{grid-column:span 2;position:relative;overflow:hidden;min-height:238px;padding:30px 30px 27px;background:#fffaf1;border:1px solid #ddcba9;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.activitygrid article:nth-child(4){grid-column:2 / span 2}
.activitygrid article:nth-child(5){grid-column:4 / span 2}
.activitygrid article:after{content:"";position:absolute;right:-26px;bottom:-48px;width:150px;height:150px;border:1px solid rgba(185,139,59,.22);border-radius:50%;box-shadow:0 0 0 18px rgba(185,139,59,.035),0 0 0 36px rgba(185,139,59,.025);pointer-events:none}
.activitygrid article:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(38,31,19,.08);border-color:var(--gold)}
.activitygrid b{display:flex;align-items:center;gap:12px;font:11px 'DM Sans';letter-spacing:2.4px;color:#ad7b2d}
.activitygrid b:before{content:"";width:24px;height:1px;background:var(--gold)}
.activitygrid h2{font-size:clamp(25px,2.2vw,31px);margin:22px 0 13px;max-width:380px}
.activitygrid p{font-size:16px;line-height:1.65;max-width:410px;margin:0}
@media(max-width:900px){.activity-intro{grid-template-columns:1fr 1fr}.activity-intro-copy{padding:30px}.activitygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.activitygrid article,.activitygrid article:nth-child(4),.activitygrid article:nth-child(5){grid-column:auto}.activitygrid article:last-child{grid-column:1 / -1}}
@media(max-width:600px){.activity-intro{grid-template-columns:1fr}.activity-image{min-height:220px}.activity-intro-copy{padding:28px 24px}.activitygrid{grid-template-columns:1fr}.activitygrid article,.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:last-child{grid-column:auto;min-height:0;padding:27px 24px}.activity-section{padding-top:35px}}

/* Sei aree di attività: griglia regolare su due righe */
.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:nth-child(6){grid-column:span 2}
@media(max-width:900px){.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:nth-child(6){grid-column:auto}}
@media(max-width:600px){.activitygrid article:nth-child(4),.activitygrid article:nth-child(5),.activitygrid article:nth-child(6){grid-column:auto}}

/* Homepage: testo e invito della sezione Lo Studio sono entrambi cliccabili */
.studio-teaser-link{display:block;color:inherit;text-decoration:none;cursor:pointer}
.studio-teaser-link h2,.studio-teaser-link p{transition:color .2s ease}
.studio-teaser-link:hover h2{color:var(--gold)}
.studio-teaser-link:focus-visible,.studio-teaser-copy .btn:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.studio-teaser-copy .btn{display:inline-flex;margin-top:18px}

/* Sezione editoriale Lo Studio: fotografia autentica della targa e testo cliccabile */
.studio{--studio-bg:#fcf5ec;--studio-ink:#11201f;--studio-text:#2b2b2b;--studio-gold:#b8912f;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.2fr);background:var(--studio-bg);font-family:Georgia,"Times New Roman",serif;color:var(--studio-text);margin:0}
.studio__photo{margin:0;min-height:320px;overflow:hidden}
.studio__photo img{display:block;width:100%;height:100%;min-height:320px;object-fit:cover;object-position:center}
.studio__body{align-self:center;padding:clamp(2rem,5vw,4.5rem);max-width:42rem}
.studio__eyebrow{display:inline-block;margin:0 0 1.2rem;padding-bottom:.55rem;border-bottom:2px solid var(--studio-gold);font:600 .85rem Inter,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--studio-ink)}
.studio__text-link{display:block;color:inherit;text-decoration:none}
.studio__title{margin:0 0 1.1rem;font-size:clamp(2rem,3.6vw,3.1rem);font-weight:400;line-height:1.1;letter-spacing:-.01em;color:var(--studio-ink)}
.studio__title em{font-style:italic;color:var(--studio-gold)}
.studio__text{margin:0 0 1.5rem;font-size:1.08rem;line-height:1.6;max-width:34rem}
.studio__text-link:hover .studio__title{color:#8f6b27}
.studio__cta{display:inline-flex;align-items:center;gap:.9rem;padding:.85rem 1.4rem;border:1px solid var(--studio-gold);font:500 .88rem Inter,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--studio-ink);transition:background .2s,color .2s}
.studio__cta:hover,.studio__cta:focus-visible{background:var(--studio-ink);color:var(--studio-bg)}
.studio__text-link:focus-visible,.studio__cta:focus-visible{outline:2px solid var(--studio-gold);outline-offset:4px}
@media(max-width:800px){.studio{grid-template-columns:1fr}.studio__photo{aspect-ratio:4/3;min-height:0}.studio__photo img{min-height:0}.studio__body{max-width:none}}

/* Restyling Attività: immagine dedicata e sei schede bilanciate */
.activity-intro{grid-template-columns:1fr 1fr;min-height:340px;margin-bottom:56px;background:#f1e8d9;border:1px solid rgba(185,139,59,.28)}
.activity-image{min-height:340px;background:linear-gradient(180deg,rgba(7,30,23,.02),rgba(7,30,23,.12)),url('targa-notaio.jpg') center 48%/cover}
.activity-intro-copy{padding:clamp(28px,4vw,58px);max-width:640px}
.activity-intro-copy .eyebrow{display:inline-block;padding-bottom:10px;border-bottom:1px solid var(--gold)}
.activity-intro-copy h2{font-size:clamp(30px,3vw,43px);line-height:1.12;margin:18px 0 16px;max-width:440px}
.activity-intro-copy p{font-size:17px;line-height:1.75;max-width:470px}
.activitygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.activitygrid article,.activitygrid article:nth-child(n){grid-column:auto;display:flex;flex-direction:column;align-items:flex-start;min-height:250px;padding:32px 32px 30px;background:linear-gradient(145deg,#fffdf8 0%,#f8f0e4 100%);border:1px solid #ddc9a4;border-radius:2px;box-shadow:0 5px 18px rgba(41,31,15,.035);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.activitygrid article:before{content:"";display:block;width:34px;height:2px;background:var(--gold);margin-bottom:22px}
.activitygrid article:after{right:-35px;bottom:-62px;width:155px;height:155px;border-color:rgba(185,139,59,.15);box-shadow:0 0 0 16px rgba(185,139,59,.025),0 0 0 32px rgba(185,139,59,.018)}
.activitygrid article:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(38,31,19,.09);border-color:#c99a43}
.activitygrid b{font-size:10px;letter-spacing:2px;line-height:1.5}
.activitygrid h2{font-size:clamp(24px,2vw,29px);line-height:1.18;margin:15px 0 13px;max-width:100%}
.activitygrid p{font-size:15.5px;line-height:1.7;margin-top:0;max-width:100%}
@media(max-width:1000px){.activitygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.activitygrid article,.activitygrid article:nth-child(n){min-height:230px}}
@media(max-width:700px){.activity-intro{grid-template-columns:1fr;margin-bottom:34px}.activity-image{min-height:250px}.activity-intro-copy{padding:28px 25px}.activitygrid{grid-template-columns:1fr;gap:15px}.activitygrid article,.activitygrid article:nth-child(n){min-height:0;padding:27px 25px}.activitygrid h2{font-size:26px}}

/* Cornice desktop centrata: larghezza visiva come il sito Artyou */
@media (min-width: 1100px){
  body{background:#1b2420}
  body>header.topbar,
  body>main,
  body>footer{width:100%;max-width:1296px;margin-left:auto;margin-right:auto}
  body>header.topbar,body>footer{box-shadow:0 0 34px rgba(0,0,0,.18)}
}
@media (max-width:1099px){
  body>header.topbar,body>main,body>footer{width:100%;max-width:none}
}

/* Fascia categorie homepage: fondo avorio e testo ad alto contrasto */
.services{background:#f7f1e6!important;color:#10251f;border-top:1px solid #e5d7bf;border-bottom:1px solid #e5d7bf}
.services .servicegrid article{background:transparent}
.services .servicegrid h2{color:#10251f}
.services .servicegrid p{color:#5f5548}
.services .servicegrid article{border-right-color:#d8c6a4}
.services .servicegrid i{color:#b98b3b}
@media(max-width:900px){.services .servicegrid article{border-bottom-color:#d8c6a4}}

/* Homepage - sezione Le sedi su fondo avorio */
.section:has(.split){background:#f7f1e6;color:#171713}
.section:has(.split) h2{color:#071e17}
.section:has(.split) p{color:#625f56}
.section:has(.split) .btn.dark{color:#071e17;border-color:#c99a43}

/* Ombra laterale morbida sulla cornice del sito */
@media (min-width:1100px){
  body>header.topbar,
  body>main,
  body>footer{
    box-shadow:-18px 0 30px -13px rgba(0,0,0,.62),18px 0 30px -13px rgba(0,0,0,.62);
    position:relative;
    z-index:1;
  }
}

/* Pagina Attività: il fondo esterno della sezione resta avorio */
.activity-section{background:#f7f1e6!important;color:#171713}
.activity-section .activity-intro{background:#f1e8d9}
.activity-section .activity-intro-copy h2,
.activity-section .activitygrid h2{color:#071e17}
.activity-section .activity-intro-copy p,
.activity-section .activitygrid p{color:#625f56}


/* Pagina Sedi: fondo avorio e mappe Google integrate nelle schede */
.locations-section{background:#f7f1e6!important}
.locations-section .locations{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.locations-section .location-card{display:flex;flex-direction:column;align-items:flex-start;padding:34px 32px 30px;background:#fffaf1;border:1px solid #ddc9a4;box-shadow:0 8px 24px rgba(41,31,15,.045)}
.locations-section .location-card h2{font-size:clamp(30px,2.6vw,38px);margin:12px 0 10px;color:#071e17}
.locations-section .location-address{font-size:17px;line-height:1.7;margin:0 0 20px;color:#625f56}
.location-map{width:100%;height:190px;margin:0 0 18px;overflow:hidden;border:1px solid #dfd0b5;background:#eee5d5}
.location-map iframe{display:block;width:100%;height:100%;border:0;filter:sepia(.12) saturate(.82)}
.locations-section .location-card .btn{margin-top:auto}
@media(max-width:700px){.locations-section .locations{grid-template-columns:1fr}.locations-section .location-card{padding:26px 22px}.location-map{height:210px}}


/* Contatti: l'intera sezione, inclusa la colonna informativa, resta avorio */
.section:has(.contactgrid){background:#f7f1e6!important;color:#171713}
.section:has(.contactgrid) .contactgrid>div h2{color:#071e17}
.section:has(.contactgrid) .contactgrid>div p{color:#625f56}
.section:has(.contactgrid) .contactgrid>div a{color:#625f56}
.section:has(.contactgrid) .contactgrid>div a:hover{color:#9b742d}
.section:has(.contactgrid) form{background:#fffaf1;border:1px solid #ddc9a4}
.section:has(.contactgrid) form h2{color:#071e17}


/* Pagina Il Notaio: ritratto verticale e scheda biografica affiancata */
.profile-section{background:#f7f1e6;padding-top:72px;padding-bottom:92px}
.profile-grid{display:grid;grid-template-columns:minmax(230px, .72fr) minmax(0,1.28fr);gap:clamp(34px,6vw,82px);align-items:start;max-width:1080px;margin:0 auto}
.profile-portrait{margin:0;max-width:340px;width:100%}
.profile-portrait img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;border:1px solid #ddc9a4;box-shadow:0 16px 38px rgba(28,27,20,.12)}
.profile-portrait figcaption{font:11px/1.5 'DM Sans',Arial,sans-serif;color:#746b5d;margin-top:10px}
.profile-copy .eyebrow{display:inline-block;margin-bottom:8px}
.profile-copy h2{font-size:clamp(34px,4vw,48px);margin:8px 0 18px}
.profile-copy p{font-size:17px;line-height:1.8}
.profile-copy .profile-lead{font-size:20px;color:#273b34}
.profile-timeline{border-left:1px solid #c99a43;margin:28px 0;padding-left:22px;display:grid;gap:20px}
.profile-timeline>div{display:grid;grid-template-columns:70px 1fr;gap:16px;align-items:start}
.profile-timeline strong{font:600 15px 'DM Sans',Arial,sans-serif;color:#a77a2e;letter-spacing:.08em}
.profile-timeline span{color:#625f56;line-height:1.7}
.profile-copy .profile-note{font-size:14px;border-top:1px solid #ddc9a4;padding-top:18px;margin-top:28px}
@media(max-width:700px){.profile-grid{grid-template-columns:1fr;gap:28px}.profile-portrait{max-width:260px;margin:0 auto}.profile-copy h2{text-align:left}.profile-timeline>div{grid-template-columns:58px 1fr}}

/* Cookie banner e controllo preventivo dei contenuti esterni */
.cookie-banner{position:fixed;z-index:9999;left:24px;right:24px;bottom:24px;max-width:980px;margin:0 auto;background:#fffaf1;color:#17221d;border:1px solid #c99a43;box-shadow:0 18px 60px #0005;padding:26px 30px;font-family:'DM Sans',Arial,sans-serif}
.cookie-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.cookie-copy{max-width:610px}.cookie-kicker{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#a9792e}.cookie-copy h2{font:400 27px/1.2 'Playfair Display',Georgia,serif;color:#071e17;margin:8px 0}.cookie-copy p{font-size:13px;line-height:1.55;margin:8px 0;color:#514e46}.cookie-copy>a{font-size:12px;text-decoration:underline;color:#614719}.cookie-actions{display:flex;flex-direction:column;gap:8px;min-width:180px}.cookie-actions button,.cookie-save{padding:11px 14px;border:1px solid #b98a37;background:transparent;color:#10231b;font:600 12px 'DM Sans',Arial,sans-serif;cursor:pointer}.cookie-actions .cookie-accept,.cookie-save{background:#0b281e;color:#fffaf1;border-color:#0b281e}.cookie-actions button:hover,.cookie-save:hover{filter:brightness(1.12)}.cookie-preferences{border-top:1px solid #e0d3bd;margin-top:18px;padding-top:14px;font-size:13px}.cookie-preferences label{display:flex;align-items:center;gap:8px;margin:9px 0}.cookie-preferences label small{color:#766f62}.cookie-preferences input{width:auto;margin:0}.cookie-preferences button{margin-top:8px}.location-map{position:relative;min-height:230px;background:#eee5d5}.location-map iframe{display:block;width:100%;height:230px;border:0}.map-consent-placeholder{min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:22px;background:#f7f1e6;color:#17221d}.map-consent-placeholder span{font:20px 'Playfair Display',Georgia,serif}.map-consent-placeholder p{font:13px/1.5 'DM Sans',Arial,sans-serif;max-width:360px}.map-load-button{border:1px solid #c99a43;background:#fffaf1;padding:10px 16px;color:#10231b;font:600 12px 'DM Sans',Arial,sans-serif;cursor:pointer}
@media(max-width:700px){.cookie-banner{left:10px;right:10px;bottom:10px;padding:20px;max-height:85vh;overflow:auto}.cookie-inner{display:block}.cookie-actions{margin-top:16px}.cookie-copy h2{font-size:24px}}

.legal-content{max-width:900px;margin:0 auto;color:#514e46}.legal-content h2{font-size:clamp(24px,2.4vw,31px);line-height:1.25;color:#071e17;margin:34px 0 10px}.legal-content p,.legal-content li{font-size:16px;line-height:1.8}.legal-content ul{padding-left:24px}.legal-content a:not(.btn){color:#8c6727;text-decoration:underline;text-underline-offset:3px}.legal-alert{background:#fffaf1;border-left:3px solid #c99a43;padding:18px 20px;color:#514e46}.privacy-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;font:13px/1.55 Arial,sans-serif;color:#514e46;margin:16px 0}.privacy-consent input{width:17px!important;height:17px;flex:0 0 17px;margin:2px 0 0}.privacy-consent a{color:#8c6727;text-decoration:underline}


/* Revisione responsive mobile: layout fluido, nessuno scorrimento orizzontale */
html{width:100%;max-width:100%;overflow-x:hidden;scroll-behavior:smooth}
body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
img,video,iframe{max-width:100%}
.wrap{width:min(1280px,calc(100% - 48px))}
main,section,header,footer,.wrap,.nav,.split,.contactgrid,.profile-grid,.activity-intro,.locations{min-width:0}
button,a,input,select,textarea{touch-action:manipulation}
button,a{ -webkit-tap-highlight-color:transparent }
@media(max-width:767px){
  .wrap{width:calc(100% - 36px)}
  .topbar{width:100%;position:relative}
  .nav{width:calc(100% - 30px);min-height:76px;height:auto;padding:10px 0;gap:12px;flex-wrap:nowrap}
  .brand{min-width:0;max-width:calc(100% - 58px);gap:10px;flex:1}
  .monogram{font-size:42px;letter-spacing:-6px;padding-right:13px;flex:0 0 auto}
  .brandname{font-size:clamp(14px,4vw,19px);letter-spacing:.4px;line-height:1.1;white-space:normal}
  .brandname small{font-size:9px;letter-spacing:5px;margin-top:5px}
  .menu{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;padding:0;font-size:21px;cursor:pointer;border-radius:0}
  .nav nav{display:none;position:absolute;z-index:50;left:0;right:0;top:100%;width:100%;padding:12px 18px 18px;background:var(--green);border-top:1px solid rgba(230,189,104,.3);box-shadow:0 14px 24px rgba(0,0,0,.18);flex-direction:column;align-items:stretch;gap:0}
  .nav nav.open{display:flex}
  .nav nav a{display:block;width:100%;padding:12px 4px;border-bottom:1px solid rgba(230,189,104,.18);font-size:17px}
  .nav nav a:last-child{border-bottom:0}
  .hero{min-height:560px;min-height:min(76svh,650px);background-position:42% center}
  .hero-inner{width:100%;justify-content:center}
  .hero-copy{width:100%;max-width:560px;padding:42px 20px;margin:0 4px}
  .hero h1,.pagehero h1{font-size:clamp(35px,9vw,48px);line-height:1.12;overflow-wrap:anywhere}
  .hero p,.pagehero p{font-size:17px;line-height:1.55}
  .hero p br{display:none}
  .pagehero{padding:54px 0}
  .pagehero .wrap{max-width:100%}
  .section{padding:48px 0}
  .servicegrid{grid-template-columns:1fr}
  .servicegrid article{padding:18px 4px;border-right:0;border-bottom:1px solid var(--line)}
  .servicegrid article:last-child{border-bottom:0}
  .servicegrid h2{font-size:25px}
  .servicegrid p{font-size:16px}
  .split,.contactgrid,.profile-grid,.activity-intro,.locations-section .locations{grid-template-columns:minmax(0,1fr);gap:24px}
  .split>*{min-width:0}
  .photo{display:block;width:100%;height:auto;max-height:340px;aspect-ratio:4/3;object-fit:cover}
  .studio{grid-template-columns:minmax(0,1fr)}
  .studio__photo{width:100%;aspect-ratio:4/3;min-height:0}
  .studio__photo img{width:100%;height:100%;min-height:0;object-fit:cover}
  .studio__body{width:100%;padding:30px 24px}
  .studio__title{font-size:clamp(29px,8vw,40px)}
  .studio__text{font-size:16px}
  .four{grid-template-columns:1fr;margin:24px 0}
  .four article,.four article:nth-child(2){padding:18px 4px;border-right:0;border-bottom:1px solid var(--gold)}
  .four article:last-child{border-bottom:0}
  .four h3{font-size:23px;margin:8px 0}
  .activity-section{padding:38px 0}
  .activity-intro{display:grid;grid-template-columns:minmax(0,1fr);min-height:0}
  .activity-image{width:100%;min-height:0;aspect-ratio:16/10;background-position:center}
  .activity-intro-copy{padding:26px 22px}
  .activitygrid{grid-template-columns:minmax(0,1fr);gap:14px}
  .activitygrid article,.activitygrid article:nth-child(n){min-width:0;min-height:0;padding:24px 22px}
  .activitygrid h2{font-size:25px;overflow-wrap:anywhere}
  .locations-section .location-card{width:100%;min-width:0;padding:24px 20px}
  .location-map,.location-map iframe,.map-consent-placeholder{height:210px;min-height:210px}
  .location-card .btn,.btn{max-width:100%;white-space:normal;justify-content:center;line-height:1.35;padding:12px 16px;font-size:13px}
  .contactgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
  .contactgrid>div,.contactgrid form{width:100%;min-width:0}
  form{padding:22px 18px}
  form h2{font-size:30px;overflow-wrap:anywhere}
  input,select,textarea{min-width:0;max-width:100%;font-size:16px}
  .privacy-consent{align-items:flex-start}
  .profile-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
  .profile-portrait{width:min(100%,250px);margin:0 auto}
  .profile-copy{min-width:0}
  .profile-timeline>div{grid-template-columns:54px minmax(0,1fr);gap:10px}
  .ctainner{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
  .cta h2{font-size:28px}
  .foot{display:grid;grid-template-columns:1fr;gap:10px}
  footer{padding:24px 0}
  .cookie-banner{left:8px;right:8px;bottom:8px;width:auto;max-width:none;max-height:82svh;overflow-y:auto;padding:18px 16px}
  .cookie-inner{display:block}
  .cookie-copy h2{font-size:23px}
  .cookie-actions{display:grid;grid-template-columns:1fr;min-width:0;margin-top:14px}
  .cookie-actions button,.cookie-save{min-height:44px;font-size:13px}
  .legal-content{overflow-wrap:anywhere}
  .legal-content p,.legal-content li{font-size:15px}
}
@media(max-width:380px){
  .wrap{width:calc(100% - 28px)}
  .nav{width:calc(100% - 24px)}
  .monogram{font-size:36px;padding-right:10px}
  .brandname{font-size:13px}
  .brandname small{font-size:8px;letter-spacing:4px}
  .hero h1,.pagehero h1{font-size:34px}
  .activitygrid article,.activitygrid article:nth-child(n){padding:22px 18px}
}

.photo.photo-card{object-position:68% center}


/* Pagine legali: fondo avorio coerente con l'identità dello Studio */
.legal-section{background:#f7f1e6!important;color:#171713}
.legal-section .legal-content{background:transparent}

/* Approfondimenti editoriali */
.insights-section{padding-top:64px}
.insights-intro{max-width:790px;margin:0 auto 42px;text-align:center}
.insights-intro h2{margin:18px 0}
.insights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.insights-grid article{padding:30px;background:#fffaf1;border:1px solid #ddcba9;min-height:220px}
.insights-grid article span{font:11px 'DM Sans';letter-spacing:2px;color:#ad7b2d}
.insights-grid article h2{font-size:27px;margin:20px 0 12px}
.insights-grid article p{margin:0;font-size:16px}
.insights-note{margin:42px 0 0;padding:26px 30px;background:#eee5d5;border-left:3px solid var(--gold)}
.insights-note p{margin:8px 0 0}
.insights-contact{text-align:center;margin-top:32px}
.insights-contact a{color:#8f6b27;text-decoration:underline;text-underline-offset:4px}
.insights-home{padding:65px 0;background:#eee5d5}
.insights-home h2{margin:12px 0;font-size:clamp(30px,3vw,42px)}
.insights-home p{max-width:650px}
@media(max-width:850px){.insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.insights-grid{grid-template-columns:1fr}.insights-grid article{min-height:0;padding:25px}}


/* Approfondimenti: fondo avorio coerente con l'identità dello Studio */
.insights-section{background:#f7f1e6;color:#18352b}
.insights-section .insights-intro h2{color:#18352b}
.insights-section .insights-intro p,
.insights-section .insights-contact{color:#46564d}
.insights-section .insights-grid article{background:#fffaf1;color:#18352b}
.insights-section .insights-grid article h2{color:#18352b}
.insights-section .insights-grid article p{color:#46564d}
.insights-section .insights-note{background:#eee5d5;color:#18352b}

/* Approfondimenti - impianto editoriale dedicato */
.insights-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,rgba(5,25,18,.97) 0%,rgba(5,25,18,.88) 58%,rgba(5,25,18,.72) 100%),url('copertina-studio.jpg') center 48%/cover;color:#f7f1e6;padding:clamp(70px,9vw,124px) 0}
.insights-hero:after{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(230,189,104,.24);border-radius:50%;right:8%;top:50%;transform:translateY(-50%);box-shadow:0 0 0 34px rgba(230,189,104,.035),0 0 0 68px rgba(230,189,104,.025);pointer-events:none}
.insights-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:70px;align-items:center}
.insights-hero-copy{max-width:790px}.insights-hero .eyebrow,.insights-method .eyebrow{color:var(--gold2)}
.insights-hero h1{font-size:clamp(48px,6.3vw,84px);font-weight:400;line-height:1.06;letter-spacing:-.035em;margin:24px 0}
.insights-hero h1 em,.insights-method h2 em{font-style:italic;color:var(--gold2)}
.insights-hero-copy>p{max-width:680px;color:#eee5d8;font-size:clamp(18px,2vw,22px);line-height:1.6}
.insights-hero-link{display:inline-flex;gap:22px;align-items:center;margin-top:28px;padding-bottom:9px;border-bottom:1px solid var(--gold2);font:600 12px 'DM Sans';letter-spacing:1.8px;text-transform:uppercase;color:#f7f1e6}
.insights-hero-aside{border-left:1px solid rgba(230,189,104,.55);padding:18px 0 18px 28px}
.insights-aside-number{font:12px 'DM Sans';color:var(--gold2);letter-spacing:3px}
.insights-hero-aside p{font-size:25px;line-height:1.45;color:#f7f1e6;margin:22px 0}
.insights-hero-aside p em{color:var(--gold2);font-style:italic}
.insights-aside-rule{display:block;width:48px;height:2px;background:var(--gold2);margin:24px 0}
.insights-hero-aside small{font:10px/1.8 'DM Sans';letter-spacing:2px;color:#d7c9b0}
.insights-editorial-intro{padding:76px 0;background:#f7f1e6}
.insights-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.insights-intro-grid h2,.insights-section-heading h2{font-size:clamp(34px,4vw,48px);margin:17px 0 0;line-height:1.14}
.insights-intro-grid>div:last-child p{font-size:17px;line-height:1.8;margin:0 0 16px;color:#5d5a50}
.insights-intro-grid .insights-intro-note{font-size:14px;border-left:2px solid var(--gold);padding-left:17px;color:#777064}
.insights-topics{background:#f1e8d9;padding-top:76px;padding-bottom:82px}
.insights-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}
.insights-section-heading>p{max-width:360px;margin:0 0 5px}
.insights-topic-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:17px}
.insights-topic{position:relative;grid-column:span 2;display:flex;flex-direction:column;min-height:270px;padding:28px 29px 25px;background:#fffaf1;border:1px solid #dfcfb1;color:#18352b;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.insights-topic:nth-child(4){grid-column:2 / span 2}.insights-topic:nth-child(5){grid-column:4 / span 2}
.insights-topic:hover{transform:translateY(-4px);border-color:#c99a43;box-shadow:0 14px 30px rgba(40,31,17,.08)}
.insights-topic:focus-visible{outline:2px solid #9b742f;outline-offset:4px}
.topic-index{font:12px 'DM Sans';letter-spacing:2px;color:#a77b31}
.topic-label{margin-top:25px;font:10px 'DM Sans';letter-spacing:2px;text-transform:uppercase;color:#8a806f}
.insights-topic h3{font-size:clamp(23px,2.2vw,29px);font-weight:400;line-height:1.15;margin:9px 0 12px;color:#18352b}
.insights-topic p{font-size:15px;line-height:1.65;margin:0 0 24px;color:#625f56}
.topic-arrow{margin-top:auto;align-self:flex-end;font-size:22px;color:#a77b31}
.insights-articles{background:#f7f1e6;padding-top:78px;padding-bottom:80px}
.insights-status{font:10px 'DM Sans';letter-spacing:1.8px;color:#8b754b;border:1px solid #d9c49b;padding:9px 12px}
.insights-empty{display:grid;grid-template-columns:72px 1fr;gap:25px;align-items:center;padding:35px 38px;background:#fffaf1;border:1px solid #dfcfb1}
.insights-empty-mark{display:grid;place-items:center;width:62px;height:62px;border:1px solid #c99a43;border-radius:50%;font-size:27px;color:#a77b31}
.insights-empty h3{font-size:27px;font-weight:400;color:#18352b;margin:0 0 8px}
.insights-empty p{max-width:780px;margin:0;font-size:16px;line-height:1.7}
.insights-method{padding:82px 0;background:#071e17;color:#f7f1e6}
.insights-method-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}
.insights-method h2{font-size:clamp(38px,4.4vw,56px);font-weight:400;line-height:1.12;margin:18px 0}
.insights-method-copy>p{font-size:16px;line-height:1.8;color:#e0d8c9;margin-top:0}
.insights-method-copy ul{padding-left:20px;color:#e0d8c9;line-height:2}
.insights-method-copy li::marker{color:var(--gold2)}
.insights-sources{display:flex;flex-wrap:wrap;gap:12px 22px;border-top:1px solid rgba(230,189,104,.35);padding-top:22px;margin-top:28px}
.insights-sources span{flex-basis:100%;font:10px 'DM Sans';letter-spacing:2px;text-transform:uppercase;color:var(--gold2)}
.insights-sources a{font:13px 'DM Sans';color:#f7f1e6;text-decoration:underline;text-decoration-color:#9b7b42;text-underline-offset:4px}
.insights-contact-band{padding:38px 0;background:#eee5d5}
.insights-contact-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:25px}
.insights-contact-band h2{font-size:31px;margin:10px 0 0}
.insights-contact-band .btn{color:#071e17}
@media(max-width:900px){.insights-hero-inner{grid-template-columns:1fr;gap:38px}.insights-hero-aside{max-width:460px}.insights-hero:after{right:-180px}.insights-intro-grid,.insights-method-grid{grid-template-columns:1fr;gap:28px}.insights-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-topic,.insights-topic:nth-child(4),.insights-topic:nth-child(5){grid-column:auto}.insights-topic:last-child{grid-column:1/-1}.insights-method-grid{gap:15px}}
@media(max-width:600px){.insights-hero{padding:62px 0}.insights-hero h1{font-size:44px}.insights-hero-aside{padding-left:20px}.insights-editorial-intro,.insights-topics,.insights-articles,.insights-method{padding:54px 0}.insights-intro-grid{gap:18px}.insights-section-heading{display:block}.insights-section-heading>p{margin-top:15px}.insights-topic-grid{grid-template-columns:1fr;gap:13px}.insights-topic,.insights-topic:last-child{grid-column:auto;min-height:230px}.insights-empty{grid-template-columns:1fr;padding:25px}.insights-empty h3{font-size:24px}.insights-contact-band .wrap{align-items:flex-start;flex-direction:column}.insights-contact-band h2{font-size:27px}}


/* Schede degli approfondimenti pubblicati */
.insights-published-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.insights-published-card{display:flex;flex-direction:column;gap:12px;padding:30px;background:#fffaf1;border:1px solid #dfcfb1;color:#18352b}
.insights-published-card .topic-label{margin:0;font:10px 'DM Sans';letter-spacing:2px;text-transform:uppercase;color:#8a806f}
.insights-published-card h3{font-size:25px;font-weight:400;line-height:1.2;margin:0;color:#18352b}
.insights-published-card p{font-size:15px;line-height:1.65;margin:0;color:#625f56}
.insights-published-card small{font:11px 'DM Sans';color:#8a806f}
.insights-published-card a{margin-top:auto;color:#8f6b27;text-decoration:underline;text-underline-offset:4px;font:600 12px 'DM Sans'}
@media(max-width:600px){.insights-published-grid{grid-template-columns:1fr}.insights-published-card{padding:24px}}


/* Articoli Approfondimenti: fondo avorio editoriale */
.section:has(.article-body){background:#f7f1e6!important;color:#171713}
.section:has(.article-body) article.wrap{color:#625f56}
.section:has(.article-body) h1,
.section:has(.article-body) .article-body h2,
.section:has(.article-body) .insights-sources h2{color:#071e17}
.section:has(.article-body) .eyebrow{color:#b88732}
.section:has(.article-body) .insights-intro-note,
.section:has(.article-body) .article-body p,
.section:has(.article-body) .article-body li,
.section:has(.article-body) article.wrap>p:last-child{color:#625f56}
.section:has(.article-body) .article-body{color:#625f56}
.section:has(.article-body) .insights-sources{border-top:1px solid #ddc9a4}
.section:has(.article-body) .insights-sources a,
.section:has(.article-body) article.wrap>p:last-child a{color:#173b30;text-decoration-color:#b88732}
.article-hero-image{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;margin:30px 0 38px;border:1px solid #ddc9a4}
@media(max-width:700px){.article-hero-image{margin:22px 0 28px;max-height:320px}}


/* Immagine dello studio nell'introduzione degli Approfondimenti */
.insights-intro-grid{align-items:start}
.insights-intro-visual{min-width:0}
.insights-intro-visual h2{margin-bottom:24px}
.insights-intro-visual img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center 54%;border:1px solid #ddc9a4}
@media(max-width:800px){
 .insights-intro-visual img{aspect-ratio:16/10}
}


/* Gerarchia tipografica più equilibrata negli articoli */
.section:has(.article-body) .article-body h2{
  font-size:clamp(26px,3vw,36px);
  line-height:1.18;
  margin:30px 0 14px;
  font-weight:400;
}
.section:has(.article-body) .article-body h3{
  font-size:clamp(21px,2.2vw,27px);
  line-height:1.25;
  margin:24px 0 12px;
  font-weight:400;
}
@media(max-width:700px){
  .section:has(.article-body) .article-body h2{font-size:27px;margin:26px 0 12px}
  .section:has(.article-body) .article-body h3{font-size:22px}
}


/* Introduzione Approfondimenti: composizione editoriale bilanciata */
.insights-intro-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:clamp(36px,6vw,84px);
  row-gap:34px;
  align-items:center;
}
.insights-intro-heading{align-self:end}
.insights-intro-copy{align-self:center;max-width:570px}
.insights-intro-photo{grid-column:1/-1;width:100%;margin-top:4px}
.insights-intro-photo img{
  display:block;width:100%;height:clamp(250px,31vw,390px);
  object-fit:cover;object-position:center 54%;
  border:1px solid #ddc9a4;
}
@media(max-width:800px){
  .insights-editorial-intro{padding:52px 0}
  .insights-intro-grid{grid-template-columns:1fr;gap:24px}
  .insights-intro-heading,.insights-intro-copy{align-self:auto;max-width:none}
  .insights-intro-photo{grid-column:1;margin-top:4px}
  .insights-intro-photo img{height:auto;aspect-ratio:16/10}
}


/* CTA sovrapposta al centro della fotografia della targa */
.photo-overlay-wrap{position:relative;margin:0;min-width:0}
.studio-photo-cta{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(88%,440px);padding:24px 26px;text-align:center;
  color:#fff;background:rgba(7,30,23,.88);
  border:1px solid rgba(201,154,67,.9);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.studio-photo-cta h2{margin:0 0 8px;color:#fff;font:400 clamp(21px,2.2vw,29px)/1.16 Georgia,"Times New Roman",serif}
.studio-photo-cta p{margin:0 0 15px;color:#f7f1e6;font:14px/1.5 Georgia,"Times New Roman",serif}
.studio-photo-cta a{
  display:inline-flex;align-items:center;gap:12px;padding:10px 19px;
  color:#fff;text-decoration:none;text-transform:uppercase;
  font:600 11px Inter,Arial,sans-serif;letter-spacing:1.8px;
  border:1px solid #d9ad58;transition:background .2s ease,color .2s ease
}
.studio-photo-cta a:hover{background:#d9ad58;color:#071e17}
@media(max-width:800px){
 .studio-photo-cta{width:min(88%,390px);padding:19px 17px}
 .studio-photo-cta h2{font-size:23px}
 .studio-photo-cta p{font-size:13px}
}

/* CTA posizionata sulla seconda fotografia, nella sezione Sedi */
.photo-overlay-wrap{position:relative;margin:0;min-width:0}
.photo-overlay-wrap>.photo{display:block;width:100%;height:100%;object-fit:cover}
.photo-overlay-wrap .studio-photo-cta{z-index:2}
@media(max-width:800px){
 .photo-overlay-wrap{width:100%}
 .photo-overlay-wrap>.photo{height:auto;aspect-ratio:4/3}
}


/* Box appuntamento autonomo tra i riquadri introduttivi e Lo Studio */
.studio-between-cta{padding:28px 0;background:#071e17;color:#f7f1e6}
.studio-between-cta .ctainner{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:28px}
.studio-between-cta h2{margin:0 0 5px;color:#f7f1e6;font:400 clamp(25px,2.7vw,34px)/1.15 Georgia,"Times New Roman",serif}
.studio-between-cta p{margin:0;color:#e8dfd0;font:16px/1.45 Georgia,"Times New Roman",serif}
.studio-between-cta .btn{border:1px solid #d9ad58;color:#fff;background:transparent;padding:15px 25px}
@media(max-width:700px){
 .studio-between-cta{padding:24px 0}
 .studio-between-cta .ctainner{flex-direction:column;align-items:flex-start;gap:16px}
}


/* Profilo Notaio: impaginazione editoriale sobria e leggibile */
.profile-section{background:#f7f1e6;padding:clamp(54px,7vw,88px) 0}
.profile-editorial{
  max-width:1160px;margin:0 auto;
  display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);
  gap:clamp(42px,7vw,100px);align-items:start;
}
.profile-aside{position:sticky;top:34px;padding:8px 0 0}
.profile-aside .eyebrow{display:inline-block;margin-bottom:14px}
.profile-aside h2{font:400 clamp(38px,4vw,54px)/1.06 Georgia,"Times New Roman",serif;color:#071e17;margin:0 0 14px}
.profile-aside h2 em{font-style:italic;color:#9b7736}
.profile-aside-role{font:600 11px/1.5 Inter,Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#8d6b31;margin:0}
.profile-aside-rule{width:52px;height:1px;background:#c99a43;margin:24px 0}
.profile-aside-intro{font:17px/1.75 Georgia,"Times New Roman",serif;color:#625f56;max-width:30ch;margin:0 0 30px}
.profile-aside .profile-timeline{margin:0 0 25px;padding-left:17px;gap:15px}
.profile-aside .profile-timeline>div{grid-template-columns:48px minmax(0,1fr);gap:10px}
.profile-aside .profile-timeline strong{font-size:12px}
.profile-aside .profile-timeline span{font-size:13px;line-height:1.55}
.profile-official-link{display:inline-block;padding-top:16px;border-top:1px solid #ddc9a4;color:#173b30;text-decoration:none;font:600 11px/1.5 Inter,Arial,sans-serif;letter-spacing:.7px}
.profile-official-link span{color:#a77b31;margin-left:5px}
.profile-editorial-copy{max-width:720px}
.profile-editorial-copy p{font:17px/1.8 Georgia,"Times New Roman",serif;color:#625f56;margin:0 0 19px}
.profile-editorial-copy .profile-lead{font-size:21px;line-height:1.6;color:#18352b;margin-bottom:24px}
.profile-editorial-copy h3{font:400 clamp(25px,2.7vw,32px)/1.2 Georgia,"Times New Roman",serif;color:#071e17;margin:38px 0 16px}
.profile-quote{margin:32px 0 0;padding:18px 0 18px 22px;border-left:2px solid #c99a43;color:#173b30;font:italic 18px/1.7 Georgia,"Times New Roman",serif}
@media(max-width:800px){
 .profile-editorial{grid-template-columns:1fr;gap:38px}
 .profile-aside{position:static;padding:0}
 .profile-aside-intro{max-width:55ch}
 .profile-aside .profile-timeline{max-width:460px}
 .profile-editorial-copy{max-width:none}
}
@media(max-width:600px){
 .profile-section{padding:44px 0}
 .profile-editorial-copy p{font-size:16px;line-height:1.75}
 .profile-editorial-copy .profile-lead{font-size:19px}
 .profile-editorial-copy h3{margin-top:30px}
 .profile-quote{font-size:17px}
}


/* Approfondimenti nelle schede attività: apertura discreta e accessibile */
.activity-details{position:relative;z-index:1;margin-top:17px;border-top:1px solid #e5d8c1;padding-top:12px}
.activity-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:#8b672d;font:600 10px/1.5 Inter,Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase}
.activity-details summary::-webkit-details-marker{display:none}
.activity-details summary span{font:18px/1 Georgia,serif;color:#a77b31;transition:transform .2s ease}
.activity-details[open] summary span{transform:rotate(45deg)}
.activity-details>p{padding-top:12px;font-size:14px;line-height:1.75;color:#625f56}
.activitygrid article:has(.activity-details[open]){min-height:0}
@media(max-width:600px){.activity-details>p{font-size:14px}}

.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
#form-status[data-state="success"]{color:#17633f}
#form-status[data-state="error"]{color:#9b2c2c}
#request button[disabled]{opacity:.65;cursor:wait}
