
:root{--navy:#0b3e70;--deep:#082d52;--ink:#18314a;--muted:#546579;--light:#f2f5f8;--line:#d9e2ea;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.7 system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#fff}a{color:var(--navy)}a:hover{text-decoration:underline}h1,h2,h3,h4{font-family:Georgia,'Times New Roman',serif;line-height:1.2;color:var(--deep);margin:0 0 17px}h1{font-size:clamp(2.4rem,5vw,4.7rem)}h2{font-size:clamp(1.75rem,3vw,2.65rem)}h3{font-size:1.4rem}h4{font-size:1.12rem}p{margin:0 0 17px;max-width:76ch}.container{width:min(1160px,calc(100% - 40px));margin:auto}.topbar{background:var(--deep);color:#fff;font-size:.8rem}.topbar .container{display:flex;justify-content:space-between;gap:15px;padding:7px 0;flex-wrap:wrap}.topbar a{color:#fff}.header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px #0b31571a}.header-inner{display:flex;align-items:center;gap:24px;min-height:90px}.logo{display:block;width:205px;max-width:34vw;height:auto}.nav{display:flex;align-items:center;gap:18px;margin-left:auto;font-size:.88rem;font-weight:650}.nav a{text-decoration:none}.nav a[aria-current=page]{border-bottom:2px solid var(--navy)}.nav details{position:relative}.nav summary{cursor:pointer;color:var(--navy)}.dropdown{position:absolute;top:100%;right:0;background:white;width:275px;max-height:65vh;overflow:auto;box-shadow:0 8px 30px #17355233;padding:15px;border-radius:8px;display:grid;gap:7px}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff!important;text-decoration:none;padding:12px 20px;border-radius:5px;font-weight:700;border:1px solid var(--navy);gap:8px}.button:hover{background:var(--deep);text-decoration:none}.button.outline{background:transparent;color:#fff!important;border-color:#fff}.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:6px;font-size:1.5rem;padding:4px 12px}.hero{background:linear-gradient(90deg,#092e56ed 0%,#092e56d6 43%,#092e5650 100%),url('esposizione-cofani-milano.webp') center/cover;min-height:475px;display:flex;align-items:center;color:#fff}.hero h1,.hero p{color:#fff}.hero .eyebrow{color:#d9eaf8;text-transform:uppercase;letter-spacing:.18em;font-size:.85rem}.hero p{font-size:1.2rem;max-width:620px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.section{padding:72px 0}.section.soft{background:var(--light)}.eyebrow{text-transform:uppercase;letter-spacing:.11em;font-weight:750;color:var(--navy);font-size:.78rem}.intro{max-width:810px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}.card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #1434510b}.card img{display:block;width:100%;height:185px;object-fit:cover}.card-body{padding:20px}.card h3{font-size:1.25rem}.card p{font-size:.95rem}.card a{font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.split img{width:100%;border-radius:10px;max-height:470px;object-fit:cover}.article{max-width:880px}.article p{max-width:78ch}.article h2{margin-top:42px}.article h3{margin-top:28px}.article h4{margin-top:20px}.article ul{padding-left:22px}.breadcrumb{font-size:.82rem;padding:14px 0;color:var(--muted)}.breadcrumb a{text-decoration:none}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.info{padding:24px;background:#fff;border:1px solid var(--line);border-radius:8px}.faq details{border-bottom:1px solid var(--line);padding:18px 0}.faq summary{font-weight:750;color:var(--deep);cursor:pointer}.faq p{margin-top:12px}.band{background:var(--navy);color:#fff;padding:42px 0}.band h2,.band p{color:#fff}.footer{background:var(--deep);color:#e9f1f8;padding:54px 0 20px}.footer h3{color:#fff;font:700 1rem system-ui;margin-bottom:18px}.footer a{color:#e9f1f8}.footer-grid{display:grid;grid-template-columns:1.3fr 1.5fr 1.2fr 1fr;gap:30px}.footer .logo{background:#fff;border-radius:5px;padding:7px}.footer p,.footer li{font-size:.88rem}.footer ul{list-style:none;padding:0;margin:0}.footer li{margin:0 0 8px}.legal{border-top:1px solid #ffffff3b;margin-top:30px;padding-top:18px;font-size:.78rem}.cookie{position:fixed;bottom:15px;left:15px;right:15px;z-index:99;max-width:750px;margin:auto;background:white;box-shadow:0 5px 40px #0004;border:1px solid var(--line);border-radius:10px;padding:22px;display:none}.cookie.show{display:block}.cookie button{cursor:pointer;padding:9px 13px;border-radius:5px;border:1px solid var(--navy);background:white;color:var(--navy);font-weight:700;margin:4px}.cookie button.primary{background:var(--navy);color:#fff}.cookie-settings{display:none;margin:10px 0}.cookie-settings.show{display:block}.floating{position:fixed;bottom:18px;right:18px;background:#167b4b;color:white;padding:11px 16px;border-radius:30px;text-decoration:none;z-index:15;font-weight:700;box-shadow:0 4px 15px #0003}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:200;background:white;padding:10px}.small{font-size:.85rem;color:var(--muted)}@media(max-width:980px){.header-inner{flex-wrap:wrap;min-height:75px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;flex-basis:100%;margin:0;flex-direction:column;align-items:stretch;padding-bottom:20px}.nav.open{display:flex}.dropdown{position:static;box-shadow:none;width:100%;max-height:none}.header .button{display:none}.cards{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.container{width:min(100% - 28px,1160px)}.topbar .container{display:block}.topbar span{display:block}.hero{min-height:450px;background-position:60% center}.section{padding:48px 0}.cards,.split,.info-grid,.footer-grid{grid-template-columns:1fr}.card img{height:210px}.floating{font-size:.8rem;bottom:10px;right:10px}.logo{width:170px;max-width:65vw}}

/* Versione editoriale: titoli proporzionati, logo contenuto e link testuali sottolineati */
.header-inner > a:first-child img,.header img.logo{width:185px!important;max-width:185px!important;height:auto!important;max-height:90px!important;object-fit:contain!important}
h1{font-size:clamp(2rem,3.1vw,3.25rem)!important;line-height:1.14!important;max-width:24ch}
h2{font-size:clamp(1.65rem,2.25vw,2.25rem)!important;line-height:1.22!important;max-width:34ch}
h3{font-size:clamp(1.2rem,1.55vw,1.48rem)!important;line-height:1.3!important}
h4{font-size:1.08rem!important}
.article a:not(.button){text-decoration:underline;text-underline-offset:3px}
.article p{max-width:77ch}
.article h3{margin-top:31px}.article h2{margin-top:36px}
@media(max-width:980px){.header-inner > a:first-child img,.header img.logo{width:155px!important;max-width:155px!important;max-height:75px!important}}
@media(max-width:600px){h1{font-size:clamp(1.9rem,7vw,2.5rem)!important}h2{font-size:clamp(1.55rem,6vw,1.95rem)!important}}

/* Icone dei servizi: sostituiscono le fotografie non pertinenti nei box */
.card .service-icon{height:118px;display:flex;align-items:center;justify-content:center;background:#edf3f8;color:#0b3e70;border-bottom:1px solid #dce6ef}
.card .service-icon svg{width:54px;height:54px;flex:none}
.card:hover .service-icon{background:#e4eef7}
@media(max-width:600px){.card .service-icon{height:100px}.card .service-icon svg{width:46px;height:46px}}

/* Revisione editoriale: un'unica larghezza per ogni sezione */
:root{--page-width:1160px}
.container,.article,.editorial-article{width:min(var(--page-width),calc(100% - 40px))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
.article p,.editorial-article p,.section p{max-width:none}
.editorial-article{display:block}
.editorial-row{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(24px,4vw,58px);align-items:center;padding:40px 0;border-bottom:1px solid var(--line)}
.editorial-row-reverse{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
.editorial-row-reverse .editorial-media{order:2}
.editorial-row-reverse .editorial-copy{order:1}
.editorial-copy h3{font-size:clamp(1.25rem,1.7vw,1.65rem)!important;margin:0 0 16px!important}
.editorial-copy p{max-width:none!important;line-height:1.75}
.editorial-media{background:#edf3f8;border-radius:12px;overflow:hidden;min-height:225px;display:flex;align-items:center;justify-content:center}
.editorial-media img{width:100%;height:100%;min-height:225px;max-height:335px;object-fit:cover;display:block}
.editorial-symbol{font:400 clamp(4rem,8vw,7rem)/1 Georgia,serif;color:#0b3e70;opacity:.7}
.editorial-article>h2{margin:48px 0 18px}
.editorial-article>p{max-width:100%}
@media(max-width:760px){.editorial-row,.editorial-row-reverse{grid-template-columns:1fr;gap:18px;padding:26px 0}.editorial-row-reverse .editorial-media,.editorial-row-reverse .editorial-copy{order:initial}.editorial-media,.editorial-media img{min-height:170px;max-height:260px}}


/* REVISIONE VISIVA NOVEMBRE 2026: griglia coerente, banner e icone */
:root{--page-width:1160px}
html,body{overflow-x:clip}
.container,.article,.editorial-article{width:min(1160px,calc(100% - 48px))!important;max-width:1160px!important;margin-inline:auto!important}
.hero{min-height:0!important;padding-block:clamp(72px,7vw,110px)!important;align-items:center!important}
.hero>.container{padding-block:12px!important}
.hero h1{font-size:clamp(2rem,2.8vw,3rem)!important;line-height:1.16!important;max-width:850px!important;margin:16px 0 22px!important;overflow-wrap:normal}
.hero p{font-size:clamp(1rem,1.25vw,1.13rem)!important;line-height:1.65!important;max-width:720px!important}
h1{font-size:clamp(2rem,2.8vw,3rem)!important;line-height:1.16!important;max-width:none!important}
h2{font-size:clamp(1.55rem,2.05vw,2.1rem)!important;line-height:1.25!important;max-width:none!important;overflow-wrap:break-word}
h3{font-size:clamp(1.15rem,1.45vw,1.4rem)!important;line-height:1.35!important}
h4{font-size:1.05rem!important}
.section{padding-block:clamp(48px,5vw,70px)!important}
.section>.container,.band>.container{min-width:0}
.split,.editorial-row{min-width:0;gap:clamp(24px,3.5vw,48px)!important}
.split>*,.editorial-row>*{min-width:0}
.editorial-article{width:min(1160px,calc(100% - 48px))!important}
.editorial-row{grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr)!important;padding:36px 0!important}
.editorial-row-reverse{grid-template-columns:minmax(0,1.05fr) minmax(0,0.95fr)!important}
.editorial-row.no-media{display:block!important;padding:32px clamp(20px,3vw,42px)!important;margin:24px 0!important;background:#f2f5f8;border:0;border-left:3px solid #0b3e70;border-radius:8px}
.editorial-row.no-media .editorial-copy{max-width:900px}
.editorial-row .editorial-media{min-height:0!important;aspect-ratio:4/3}
.editorial-row .editorial-media img{width:100%;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover}
.card .service-icon{height:86px!important;padding:16px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.card .service-icon svg,.card .service-icon img{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;object-fit:contain!important}
.cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.card{min-width:0}.card-body{padding:20px!important}
.header .logo,.header-inner>a:first-child img{width:185px!important;max-width:185px!important;height:auto!important;max-height:90px!important;object-fit:contain!important}
@media(max-width:980px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.header .logo,.header-inner>a:first-child img{width:155px!important;max-width:155px!important}}
@media(max-width:760px){.container,.article,.editorial-article{width:calc(100% - 32px)!important}.hero{padding-block:65px!important}.hero h1,h1{font-size:clamp(1.85rem,6vw,2.35rem)!important}.hero p{font-size:1rem!important}.split,.editorial-row,.editorial-row-reverse{grid-template-columns:1fr!important}.editorial-row-reverse .editorial-media,.editorial-row-reverse .editorial-copy{order:initial!important}.editorial-row .editorial-media{aspect-ratio:16/10}.cards{grid-template-columns:1fr!important}.card .service-icon{height:76px!important}.card .service-icon svg,.card .service-icon img{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important}}

/* Correzione mirata logo Registro Italiano Cremazioni */
.container.split .registro-logo-frame {display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;padding:24px!important;background:#fff!important;border-radius:14px!important;overflow:visible!important;}
.container.split .registro-logo-frame img.registro-logo {display:block!important;position:static!important;width:100%!important;max-width:440px!important;height:auto!important;max-height:300px!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;transform:none!important;margin:0 auto!important;}
/* Separazione della sezione Recapiti dai box delle sedi */
.recapiti-section {padding-top:64px!important;padding-bottom:28px!important;clear:both!important;}
.recapiti-section h2 {margin-top:0!important;margin-bottom:22px!important;}
@media(max-width:767px){.container.split .registro-logo-frame{padding:18px!important}.container.split .registro-logo-frame img.registro-logo{max-width:300px!important;max-height:220px!important}.recapiti-section{padding-top:42px!important}}

/* Editorial rows without relevant photography: use full-width readable copy */
.editorial-row.no-media{display:block!important;max-width:100%!important}.editorial-row.no-media .editorial-copy{width:100%!important;max-width:100%!important}.editorial-row.no-media .editorial-media{display:none!important}
