/*
Theme Name: CDM Alimentari
Theme URI: https://cdmalimentari.it
Author: C.D.M. S.r.l.
Description: Tema proprietario per C.D.M. S.r.l., distribuzione in tentata vendita di prodotti alimentari nelle province di Macerata, Fermo e Ancona. Nessuna libreria esterna, responsive, menu a più livelli, SEO integrata.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: cdm-alimentari
*/

:root{
  --plum:#8B0250; --plum-deep:#4A0130; --plum-soft:#F4E4EC;
  --pecorino:#E6AE2C; --ink:#261A20; --muted:#665860;
  --bg:#FBF7F8; --paper:#fff; --line:#E7D9DF;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wrap:1180px; --gap:clamp(1rem,3vw,2rem); --head:84px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.125rem/1.65 var(--sans);overflow-x:hidden}
img,svg,video,iframe{max-width:100%;height:auto}
a{color:var(--plum);text-underline-offset:.18em}
a:hover{color:var(--plum-deep)}
h1,h2,h3,h4{font-family:var(--serif);line-height:1.15;color:var(--plum-deep);margin:0 0 .6em;font-weight:700}
h1{font-size:clamp(2rem,5.2vw,3.5rem);letter-spacing:-.01em}
h2{font-size:clamp(1.6rem,3.4vw,2.35rem)}
h3{font-size:clamp(1.25rem,2.2vw,1.5rem)}
p{margin:0 0 1.1em}
:focus-visible{outline:3px solid var(--pecorino);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link:focus{position:fixed;left:8px;top:8px;z-index:999;width:auto;height:auto;clip:auto;background:#fff;padding:.7rem 1rem;color:var(--plum)}
.wrap{width:min(100% - 2*var(--gap),var(--wrap));margin-inline:auto}
.section{padding-block:clamp(2.5rem,7vw,5rem)}
.section--white{background:var(--paper)}
.section--plum{background:var(--plum-deep);color:#fff}
.section--plum h2,.section--plum h3{color:#fff}
.section--plum a{color:var(--pecorino)}
.lead{font-size:clamp(1.15rem,2vw,1.35rem);max-width:60ch}
.cut{height:11px;background:linear-gradient(var(--plum) 0 6px,transparent 6px 8px,var(--plum) 8px 11px)}

/* Bottoni */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;padding:.75rem 1.4rem;border-radius:4px;border:2px solid var(--plum);background:var(--plum);color:#fff;font:700 1rem/1.2 var(--sans);text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
.btn:hover{background:var(--plum-deep);border-color:var(--plum-deep);color:#fff}
.btn--ghost{background:transparent;color:var(--plum)}
.btn--ghost:hover{background:var(--plum);color:#fff}
.btn--pec{background:var(--pecorino);border-color:var(--pecorino);color:var(--ink)}
.btn--pec:hover{background:#fff;border-color:#fff;color:var(--plum-deep)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem}

/* Barra superiore */
.topbar{background:var(--plum-deep);color:#fff;font-size:.95rem}
.topbar .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1.5rem;padding-block:.45rem}
.topbar a{color:#fff;font-weight:600;text-decoration:none}
.topbar a:hover{color:var(--pecorino)}
.topbar__links{display:flex;gap:1.4rem;flex-wrap:wrap}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--head)}
.brand{display:block;line-height:0}
.brand img{height:94px;width:auto;display:block}
.brand__text{font:700 1.6rem/1 var(--serif);color:var(--plum);text-decoration:none}
.nav-toggle{display:inline-flex;align-items:center;gap:.6rem;min-height:52px;padding:.5rem 1rem;border:2px solid var(--plum);background:#fff;color:var(--plum);font:700 1rem var(--sans);border-radius:4px;cursor:pointer}
.nav-toggle__bars,.nav-toggle__bars::before,.nav-toggle__bars::after{display:block;width:22px;height:3px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}
.nav-toggle__bars{position:relative}
.nav-toggle__bars::before,.nav-toggle__bars::after{content:"";position:absolute;left:0}
.nav-toggle__bars::before{top:-7px}.nav-toggle__bars::after{top:7px}
.nav-toggle[aria-expanded=true] .nav-toggle__bars{background:transparent}
.nav-toggle[aria-expanded=true] .nav-toggle__bars::before{transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded=true] .nav-toggle__bars::after{transform:translateY(-7px) rotate(-45deg)}

/* Menu: mobile e tablet (sotto 1024px) */
.nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:6px solid var(--plum);max-height:calc(100vh - var(--head) - 60px);max-height:calc(100dvh - var(--head) - 60px);overflow-y:auto;box-shadow:0 18px 30px rgba(38,26,32,.18)}
.nav.is-open{display:block}
html:not(.js) .nav{display:block;position:static}
.menu,.menu ul{list-style:none;margin:0;padding:0}
.menu li{display:flex;flex-wrap:wrap;align-items:stretch;border-top:1px solid var(--line)}
.menu a{flex:1;display:block;padding:1rem var(--gap);color:var(--ink);font-weight:600;text-decoration:none}
.menu a:hover,.menu .current-menu-item>a,.menu .current-menu-ancestor>a,.menu .current_page_item>a{color:var(--plum);background:var(--plum-soft)}
.menu ul{flex:0 0 100%;display:none;background:var(--bg)}
.menu ul a{padding-left:calc(var(--gap) + 1.2rem);font-weight:500}
.menu ul ul a{padding-left:calc(var(--gap) + 2.4rem)}
.menu li.is-open>ul,html:not(.js) .menu ul{display:block}
.sub-toggle{flex:0 0 60px;border:0;border-left:1px solid var(--line);background:transparent;color:var(--plum);cursor:pointer;position:relative}
.sub-toggle::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-8px 0 0 -6px;border:solid currentColor;border-width:0 3px 3px 0;transform:rotate(45deg);transition:transform .2s}
.has-sub.is-open>.sub-toggle::after{transform:rotate(-135deg);margin-top:-3px}
.nav__cta{padding:1rem var(--gap)}
.nav__cta .btn{width:100%}
.header-cta{display:none}

/* Menu: desktop (da 1024px) */
@media (min-width:1024px){
  .nav-toggle{display:none}
  .nav,.nav.is-open,html:not(.js) .nav{display:flex;align-items:center;gap:1.2rem;position:static;max-height:none;overflow:visible;border:0;box-shadow:none;background:transparent}
  .menu{display:flex;align-items:center;gap:.1rem}
  .menu li{position:relative;border:0;flex-wrap:nowrap;align-items:center}
  .menu>li>a{padding:.6rem .75rem;border-radius:4px;font-size:1rem}
  .menu>li>a:hover,.menu>.current-menu-item>a,.menu>.current-menu-ancestor>a,.menu>.current_page_item>a{background:var(--plum-soft)}
  .sub-toggle{flex:0 0 26px;height:34px;border:0;margin-left:-.5rem}
  .menu ul{position:absolute;left:0;top:100%;min-width:270px;z-index:60;background:var(--paper);border-top:4px solid var(--plum);box-shadow:0 16px 30px rgba(38,26,32,.18);padding:.4rem 0}
  .menu ul li{display:flex;border:0}
  .menu ul a{padding:.7rem 1.2rem;font-weight:500}
  .menu ul ul{left:100%;top:-4px}
  .menu ul .sub-toggle{margin:0;height:auto;flex-basis:40px}
  .menu ul .sub-toggle::after{transform:rotate(-45deg)}
  .menu ul .has-sub.is-open>.sub-toggle::after{transform:rotate(-45deg);margin-top:-8px}
  .menu li:hover>ul,.menu li.is-open>ul,html:not(.js) .menu li:focus-within>ul{display:block}
  html:not(.js) .menu ul{display:none}
  .menu li:nth-last-child(-n+2)>ul ul{left:auto;right:100%}
  .nav__cta{display:none}
  .header-cta{display:inline-flex;min-height:48px}
}

/* Hero */
.hero{padding-block:clamp(2rem,6vw,4.5rem);background:var(--paper)}
.hero .wrap{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center}
.hero h1{margin-bottom:.5em}
.hero .btn-row{margin-top:1.6rem}
.slices{display:grid;gap:7px}
.slice{background:var(--plum);color:#fff;padding:1.1rem 1.4rem;display:flex;flex-direction:column;justify-content:center;min-height:96px}
.slice strong{font:700 clamp(1.8rem,4vw,2.6rem)/1 var(--serif)}
.slice span{font-size:.98rem;opacity:.92}
.slice--pec{background:var(--pecorino);color:var(--ink)}
.slice:nth-child(2){margin-left:clamp(.5rem,3vw,2rem)}
.slice:nth-child(3){margin-left:clamp(1rem,6vw,4rem)}
@media (min-width:900px){.hero .wrap{grid-template-columns:1.15fr .85fr}}

/* Fatti */
.facts{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin:0}
.facts div{padding:1.2rem 1rem 1.2rem 0;border-top:3px solid var(--plum)}
.facts dt{font:700 clamp(2rem,4vw,2.8rem)/1 var(--serif);color:var(--plum)}
.facts dd{margin:.3rem 0 0;color:var(--muted);font-size:1rem}
@media (min-width:760px){.facts{grid-template-columns:repeat(4,1fr);gap:1.5rem}}

/* Griglie e liste */
.split{display:grid;gap:clamp(1.5rem,4vw,3rem)}
@media (min-width:860px){.split{grid-template-columns:1fr 1fr}.split--wide-l{grid-template-columns:1.2fr .8fr}}
.steps{list-style:none;margin:0;padding:0;counter-reset:s;display:grid;gap:1.2rem}
.steps li{counter-increment:s;position:relative;padding:0 0 0 3.6rem}
.steps li::before{content:counter(s);position:absolute;left:0;top:-.1rem;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--plum);color:#fff;font:700 1.3rem/2.6rem var(--serif);text-align:center}
.steps h3{margin-bottom:.25em}
.steps p{margin:0;color:var(--muted)}
@media (min-width:860px){.steps{grid-template-columns:1fr 1fr;gap:2rem 3rem}}
.ledger{list-style:none;margin:0;padding:0}
.ledger li{padding:.85rem 0;border-bottom:1px solid var(--line);font-weight:600}
.ledger li small{display:block;font-weight:400;color:var(--muted);font-size:1rem}
.ledger--cols{columns:1}
@media (min-width:640px){.ledger--cols{columns:2;column-gap:3rem}.ledger--cols li{break-inside:avoid}}
.callout{background:var(--plum-soft);border-left:8px solid var(--plum);padding:1.4rem 1.6rem}
.callout h3{margin-bottom:.3em}
.callout p:last-child{margin:0}
.cards{display:grid;gap:var(--gap);grid-template-columns:1fr}
@media (min-width:640px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--paper);border:1px solid var(--line);display:flex;flex-direction:column}
.card__img{display:block;aspect-ratio:4/3;background:var(--plum-soft);overflow:hidden}
.card__img img{width:100%;height:100%;object-fit:cover;display:block}
.card__body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;flex:1}
.card__body h2,.card__body h3{font-size:1.35rem;margin-bottom:.35em}
.card__body h2 a,.card__body h3 a{color:var(--plum-deep);text-decoration:none}
.card__body h2 a:hover,.card__body h3 a:hover{text-decoration:underline}
.card__meta{font-size:.92rem;color:var(--muted);margin-bottom:.5rem}
.card__body p{margin:0 0 1rem;color:var(--muted)}
.card__more{margin-top:auto;font-weight:700}

/* Pagina interna */
.page-head{background:var(--paper);padding-block:clamp(1.5rem,4vw,3rem) clamp(1.4rem,3vw,2.2rem)}
.page-head h1{margin:0;max-width:22ch}
.page-head p{margin:1rem 0 0;color:var(--muted);max-width:60ch}
.crumbs{font-size:.95rem;margin-bottom:1rem}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem .5rem}
.crumbs li+li::before{content:"/";margin-right:.5rem;color:var(--muted)}
.crumbs [aria-current]{color:var(--muted)}
.content{padding-block:clamp(2rem,5vw,3.5rem)}
.entry{max-width:760px}
.entry--wide{max-width:none}
.entry>*:first-child{margin-top:0}
.entry h2{margin-top:1.8em}.entry h3{margin-top:1.5em}
.entry ul,.entry ol{padding-left:1.4rem}
.entry li{margin-bottom:.4em}
.entry img{border-radius:2px}
.entry figure{margin:1.6rem 0}
.entry figcaption{font-size:.95rem;color:var(--muted)}
.entry table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.entry th,.entry td{border:1px solid var(--line);padding:.6rem .8rem;text-align:left}
.entry blockquote{margin:1.6rem 0;padding:.2rem 0 .2rem 1.2rem;border-left:6px solid var(--plum);font:italic 1.25rem/1.5 var(--serif)}
.entry .alignwide{max-width:min(100vw - 2*var(--gap),var(--wrap))}
.entry-thumb{margin:0 0 2rem}
.entry-thumb img{width:100%;display:block}
.post-nav,.pagination{margin-top:2.5rem}
.nav-links{display:flex;flex-wrap:wrap;gap:.6rem}
.page-numbers{display:inline-flex;min-width:48px;min-height:48px;align-items:center;justify-content:center;padding:0 .9rem;border:2px solid var(--plum);text-decoration:none;font-weight:700;background:#fff}
.page-numbers.current,a.page-numbers:hover{background:var(--plum);color:#fff}

/* Form */
.form-box{background:var(--paper);color:var(--ink);padding:clamp(1.2rem,3vw,2rem);border-top:8px solid var(--pecorino)}
.cdm-form{display:grid;gap:1rem}
@media (min-width:640px){.cdm-form{grid-template-columns:1fr 1fr}.cdm-form .full{grid-column:1/-1}}
.cdm-form label{display:block;font-weight:700;margin-bottom:.3rem}
.cdm-form input[type=text],.cdm-form input[type=tel],.cdm-form input[type=email],.cdm-form textarea,.cdm-form select,.search-form input[type=search]{width:100%;min-height:52px;padding:.7rem .9rem;border:2px solid #9d8a93;border-radius:4px;background:#fff;color:var(--ink);font:inherit}
.cdm-form textarea{min-height:120px}
.cdm-form .check label{display:flex;gap:.7rem;align-items:flex-start;font-weight:400}
.cdm-form .check input{width:24px;height:24px;margin-top:.15rem;flex:none}
.cdm-form .hp{position:absolute;left:-9999px}
.cdm-form small{color:var(--muted)}
.notice{padding:1rem 1.2rem;margin-bottom:1rem;border-left:8px solid;font-weight:600}
.notice--ok{background:#e8f3e6;border-color:#2f7a2b;color:#1d4d1a}
.notice--err{background:#fbe6e6;border-color:#b3261e;color:#7a1712}
.search-form{display:flex;gap:.6rem;flex-wrap:wrap;max-width:560px}
.search-form input[type=search]{flex:1;min-width:200px}
.contact-list{list-style:none;margin:0 0 1.5rem;padding:0}
.contact-list li{padding:.7rem 0;border-bottom:1px solid var(--line)}
.contact-list b{display:block;color:var(--muted);font-weight:600;font-size:.95rem}

/* Footer */
.site-footer{background:var(--plum-deep);color:#e9d9e1;margin-top:0;font-size:1rem}
.site-footer a{color:#fff}
.site-footer a:hover{color:var(--pecorino)}
.site-footer h2{font:700 1.15rem var(--sans);color:#fff;margin-bottom:.8rem}
.footer-grid{display:grid;gap:2rem;padding-block:clamp(2rem,5vw,3.5rem)}
@media (min-width:700px){.footer-grid{grid-template-columns:1.3fr 1fr 1fr}}
.footer-menu{list-style:none;margin:0;padding:0}
.footer-menu li{margin-bottom:.45rem}
.footer-menu ul{display:none}
.site-footer address{font-style:normal}
.footer-bottom{border-top:1px solid rgba(255,255,255,.2);padding-block:1.1rem;font-size:.92rem}
.footer-bottom .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem}

/* Barra contatto mobile */
.quickbar{display:none}
@media (max-width:767px){
  .quickbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:70;box-shadow:0 -4px 16px rgba(0,0,0,.2)}
  .quickbar a{display:flex;align-items:center;justify-content:center;min-height:58px;font-weight:700;text-decoration:none;color:#fff;background:var(--plum)}
  .quickbar a+a{background:#1f7a3d}
  body{padding-bottom:58px}
  .brand img{height:50px}
  :root{--head:72px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.topbar,.site-header,.quickbar,.site-footer .footer-grid{display:none}}

/* ==========================================================
   v1.1 Affinamento: più aria, linee sottili, meno blocchi pieni
   ========================================================== */
body{line-height:1.7}
h1,h2,h3{font-weight:600;letter-spacing:-.012em}
h1{font-size:clamp(2rem,4.6vw,3.2rem)}
.eyebrow{margin:0 0 .9rem;font:600 .78rem/1.2 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--plum)}
.eyebrow a{color:inherit;text-decoration:none}
.eyebrow a:hover{text-decoration:underline}
.section--plum .eyebrow{color:var(--pecorino)}
.section{padding-block:clamp(3rem,8vw,6rem)}

/* Il "taglio" del logo diventa un segno corto e discreto */
.cut{width:min(100% - 2*var(--gap),var(--wrap));margin-inline:auto;height:7px;background:linear-gradient(var(--plum) 0 4px,transparent 4px 6px,var(--plum) 6px 7px) 0 0/56px 7px no-repeat}
.site-footer .cut{margin-top:2.5rem;background:linear-gradient(var(--pecorino) 0 4px,transparent 4px 6px,var(--pecorino) 6px 7px) 0 0/56px 7px no-repeat}

/* Barra e header */
.topbar{background:var(--bg);color:var(--muted);border-bottom:1px solid var(--line);font-size:.88rem}
.topbar a{color:var(--plum-deep);font-weight:600}
.topbar a:hover{color:var(--plum)}

/* Bottoni */
.btn{border-radius:2px;font-weight:600;letter-spacing:.02em;min-height:50px;padding-inline:1.6rem}

/* Menu desktop: sottolineatura al posto dello sfondo */
@media (min-width:1024px){
  .menu>li>a{font-weight:500;font-size:.98rem;border-radius:0}
  .menu>li>a:hover,.menu>.current-menu-item>a,.menu>.current-menu-ancestor>a,.menu>.current_page_item>a,.menu>.current_page_ancestor>a{background:none;box-shadow:inset 0 -2px var(--plum)}
}

/* Hero */
.hero{background:transparent;padding-block:clamp(2.5rem,7vw,6rem)}
.slice{min-height:78px;padding:.9rem 1.3rem}
.slice strong{font-size:clamp(1.5rem,3.2vw,2rem);font-weight:600}
.slice span{font-size:.92rem}
.slice--pec{background:var(--plum-soft);color:var(--plum-deep);border-left:6px solid var(--pecorino)}

/* Numeri, passaggi, riquadri */
.facts div{border-top:1px solid var(--line);padding-top:1.4rem}
.facts dt{font-weight:600;font-size:clamp(1.8rem,3.4vw,2.4rem)}
.steps li{padding-left:3.6rem}
.steps li::before{content:"0" counter(s);background:none;color:var(--plum);width:auto;height:auto;font:600 1.7rem/1 var(--serif);text-align:left;top:.15rem}
.callout{background:transparent;border-left:2px solid var(--plum);padding:.2rem 0 .2rem 1.6rem}
.ledger li{font-weight:500;padding:1rem 0}
.card{border:0;border-top:1px solid var(--line);background:transparent}
.card__img{aspect-ratio:3/2}
.card__body{padding:1.1rem 0 1.4rem}
.form-box{border:1px solid var(--line)}
.section--plum .form-box{border-top:0}

/* Pagine interne */
.page-head{background:transparent;padding-block:clamp(2.5rem,6vw,4.5rem) clamp(1.6rem,4vw,2.6rem)}
.page-head h1{max-width:24ch}
.entry{max-width:none}

/*
.entry>*{max-width:720px}
*/
.entry>.split,.entry>.cards,.entry>.facts,.entry>.steps,.entry>.alignwide,.entry>.alignfull{max-width:none}
.entry .lead{font-family:var(--serif);font-size:clamp(1.25rem,2.4vw,1.6rem);line-height:1.5;color:var(--plum-deep);max-width:none}
.entry>.facts{margin:2.5rem 0}
.entry>.steps{margin:2rem 0}
.entry>.btn-row{margin-top:2.5rem}

/* Elenco sottopagine */
.hubs{list-style:none;margin:3rem 0 0;padding:0;border-top:1px solid var(--line)}
.hubs a{display:grid;gap:.2rem;position:relative;padding:1.25rem 2.5rem 1.25rem 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.hubs a::after{content:"→";position:absolute;right:.2rem;top:50%;transform:translateY(-50%);color:var(--plum);transition:transform .2s}
.hubs a:hover::after{transform:translate(6px,-50%)}
.hubs a:hover strong{text-decoration:underline}
.hubs strong{font:600 1.35rem/1.2 var(--serif);color:var(--plum-deep)}
.hubs span{color:var(--muted);font-size:1rem;line-height:1.5}
@media (min-width:860px){.hubs a{grid-template-columns:minmax(260px,1fr) 2fr;align-items:baseline;gap:2rem}}

/* Fascia contatto in fondo alle pagine */
.cta{background:var(--plum-soft);padding-block:clamp(2.5rem,6vw,4rem)}
.cta .wrap{display:grid;gap:1.5rem;align-items:center}
.cta h2{margin-bottom:.3em}
.cta p{margin:0;color:var(--muted)}
@media (min-width:860px){.cta .wrap{grid-template-columns:1.3fr 1fr}.cta .btn-row{justify-content:flex-end}}
.entry>.hubs{max-width:none}

/* ==========================================================
   v2.0 Moderno: sfondi bianchi, linee nere sottili, bottoni nel colore del logo, foto parallax
   ========================================================== */
:root{--bg:#fff;--paper:#fff;--ink:#111;--muted:#595959;--line:#e2e2e2;--rule:#111;--plum-soft:#f8f0f4;
  --sans:"Helvetica Neue",Helvetica,Arial,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
body{background:#fff;color:var(--ink);font-family:var(--sans)}
h1,h2,h3,h4{font-family:var(--sans);color:var(--ink);font-weight:600;letter-spacing:-.028em;line-height:1.08}
h1{font-size:clamp(2.2rem,5.6vw,4.4rem)}
h2{font-size:clamp(1.75rem,3.8vw,2.8rem)}
h3{font-size:clamp(1.15rem,2vw,1.35rem);letter-spacing:-.01em;line-height:1.25}
.lead,.entry .lead{font-family:var(--sans);font-weight:300;font-size:clamp(1.2rem,2.2vw,1.55rem);line-height:1.5;color:var(--ink);max-width:46ch}
.eyebrow{color:var(--ink);letter-spacing:.18em}
.eyebrow::before{content:"";display:inline-block;width:.65em;height:.65em;background:var(--plum);margin-right:.75em;vertical-align:-.04em}
.section--plum .eyebrow{color:var(--ink)}

/* Linee e sezioni */
.section{border-top:1px solid var(--line)}
.hero+.cut,.hero+.section{border-top:0}
.section--white{background:#fff}
.section--plum{background:#fff;color:var(--ink);border-top:1px solid var(--rule)}
.section--plum h2,.section--plum h3{color:var(--ink)}
.section--plum a{color:var(--plum)}
.form-box{border:1px solid var(--ink)}
.section--plum .form-box{border:1px solid var(--ink)}

/* Barra, header, menu */
.topbar{background:#fff;color:var(--muted);border-bottom:1px solid var(--line)}
.site-header{background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--rule)}
.nav-toggle{border:1px solid var(--ink);color:var(--ink);border-radius:0}

.menu a{color:var(--ink)}
.menu a:hover,.menu .current-menu-item>a,.menu .current-menu-ancestor>a,.menu .current_page_item>a{color:var(--plum);background:transparent}
.sub-toggle{color:var(--ink)}
@media (min-width:1024px){
  .menu ul{border-top:2px solid var(--ink);box-shadow:0 14px 28px rgba(0,0,0,.1)}
  .menu>li>a:hover,.menu>.current-menu-item>a,.menu>.current-menu-ancestor>a,.menu>.current_page_item>a,.menu>.current_page_ancestor>a{color:var(--ink);box-shadow:inset 0 -2px var(--plum)}
}

/* Bottoni nel colore del logo */
.btn{background:var(--plum);border:1px solid var(--plum);color:#fff;border-radius:0;font-weight:600;letter-spacing:.03em;text-transform:none}
.btn:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:#fff}
.btn--pec{background:var(--pecorino);border-color:var(--pecorino);color:var(--ink)}
.btn--pec:hover{background:var(--ink);border-color:var(--ink);color:#fff}

/* Hero con foto */
.hero{background:#fff;padding-block:clamp(2rem,5vw,4rem) 0}
.hero .wrap{display:block}
.hero .hero__grid{display:grid;gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.hero h1{max-width:14ch;margin-bottom:.45em}
.hero__photo{aspect-ratio:4/3}
@media (min-width:900px){
  .hero .hero__grid{grid-template-columns:1.05fr .95fr;align-items:stretch}
  .hero__photo{aspect-ratio:auto;min-height:560px}
  .hero__text{align-self:center}
}
.provinces{list-style:none;margin:clamp(2rem,5vw,3.5rem) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule);border-bottom:1px solid var(--line)}
.provinces li{padding:1.1rem 1rem;font-weight:600;font-size:clamp(1rem,2.2vw,1.35rem);letter-spacing:-.01em}
.provinces li:first-child{padding-left:0}
.provinces li+li{border-left:1px solid var(--line)}
.provinces small{display:block;margin-top:.15rem;font-weight:400;color:var(--muted);font-size:.85rem;letter-spacing:0}
@media (max-width:560px){.provinces small{display:none}.provinces li{padding:.9rem .5rem}}

/* Foto e parallax */
.px{position:relative;overflow:hidden;background:#e6e6e6}
.px__img{position:absolute;left:0;top:-12%;width:100%;height:124%;object-fit:cover;display:block;will-change:transform}
.photo{aspect-ratio:4/5}
.photo--wide{aspect-ratio:3/2}
.band{position:relative;display:flex;align-items:flex-end;min-height:clamp(320px,62vh,600px);color:#fff;overflow:hidden;border-top:0}
.band__px{position:absolute;inset:0}
.band::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.66),rgba(0,0,0,.1) 70%);pointer-events:none}
.band__cap{position:relative;z-index:2;padding-block:clamp(1.6rem,4vw,3.2rem)}
.band .eyebrow{color:#fff}
.band .eyebrow::before{background:var(--pecorino)}
.band__text{margin:0;max-width:20ch;font:600 clamp(1.7rem,4.4vw,3.3rem)/1.08 var(--sans);letter-spacing:-.025em}
.entry>.band{max-width:none;width:100vw;margin:2.5rem calc(50% - 50vw)}

/* Passaggi, numeri, liste */
.facts div{border-top:1px solid var(--rule)}
.facts dt{color:var(--ink)}
.steps li::before{color:var(--plum)}
.ledger li{border-bottom:1px solid var(--line)}
.ledger{border-top:1px solid var(--rule)}
.callout{border-left:2px solid var(--plum)}
.card{border-top:1px solid var(--rule)}
.card__body h2 a,.card__body h3 a{color:var(--ink)}
.hubs{border-top:1px solid var(--rule)}
.hubs a{border-bottom:1px solid var(--line)}
.hubs strong{font-family:var(--sans);letter-spacing:-.015em;color:var(--ink)}
.hubs a:hover strong{color:var(--plum)}
.entry blockquote{font-family:var(--sans);font-style:normal;font-weight:300;border-left:2px solid var(--plum)}
.entry>.hubs{max-width:none}

/* Pagine interne e fascia contatto */
.page-head{background:#fff}
.page-head h1{max-width:20ch}
.cta{background:#fff;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}

/* Footer chiaro */
.site-footer{background:#fff;color:var(--ink);border-top:1px solid var(--rule)}
.site-footer a{color:var(--ink)}
.site-footer a:hover{color:var(--plum)}
.site-footer h2{color:var(--ink);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase}
.site-footer .cut{background:linear-gradient(var(--plum) 0 4px,transparent 4px 6px,var(--plum) 6px 7px) 0 0/56px 7px no-repeat}
.footer-bottom{border-top:1px solid var(--line);color:var(--muted)}
.topbar a:hover{color:var(--plum)}




p.chiamaci {
    TEXT-ALIGN: CENTER;
    WIDTH: 100%;
    MAX-WIDTH: 100%;
}