
/* CM visual refresh — presentation only */
:root{--cm-ink:#202127;--cm-muted:#555b65;--cm-accent:#a61c68;--cm-line:#e6e7eb;}
body.custom-background{background:#f3f3f5!important;background-image:none!important;}
body{font-family:Arial,Helvetica,sans-serif;color:var(--cm-ink);-webkit-font-smoothing:antialiased;}
#page{box-shadow:0 8px 48px rgba(25,25,35,.06);}
.site-content{background:#fff;}
.entry-title,.entry-content h1,.entry-content h2,.entry-content h3,.elementor-widget-text-editor h2,.elementor-widget-text-editor h3{font-family:Arial,Helvetica,sans-serif!important;color:var(--cm-ink)!important;letter-spacing:-.035em;font-weight:700;line-height:1.2!important;}
.entry-title{font-size:clamp(28px,3vw,42px)!important;line-height:1.16!important;margin-bottom:24px;}
body .entry-content h2{font-size:clamp(23px,2.1vw,29px);margin-top:32px;margin-bottom:14px;}
body .entry-content h3{font-size:21px;}
.entry-content,.elementor-widget-text-editor{color:var(--cm-muted)!important;font-size:16px;line-height:1.75;}
body .entry-content p{line-height:1.75;margin-bottom:18px;}
.entry-content a:not([class]),.entry-content a.cm-query{transition:color .18s ease,background .18s ease,box-shadow .18s ease;}
.entry-content a:not([style*="background: #222"]):not([style*="background:#222"]):not(.cm-query){color:var(--cm-accent);text-underline-offset:4px;}
.entry-content a:hover{color:#751147;}
.entry-content a[href*="wa.me"],.entry-content a.cm-query{background:#25262d!important;color:#fff!important;border-radius:8px!important;font-size:14px!important;font-weight:600;letter-spacing:.01em;box-shadow:0 3px 9px rgba(24,24,30,.08);padding:13px 18px!important;line-height:1.5!important;}
.entry-content a[href*="wa.me"]:hover,.entry-content a.cm-query:hover{background:var(--cm-accent)!important;box-shadow:0 5px 16px rgba(166,28,104,.16);}
.entry-content a:focus-visible,.main-navigation a:focus-visible{outline:3px solid #d64694;outline-offset:4px;}
.entry-content figure img,.entry-content figure video,.entry-content .cm-photo,.entry-content .cm-reflective-videos video{border-radius:10px;}
.entry-content figcaption{color:var(--cm-muted);font-size:13px!important;line-height:1.55;padding-top:10px!important;}
.cm-jump a{border-color:#e3dce1!important;background:#faf7f9;color:#792354!important;border-radius:7px!important;font-weight:600;}
.cm-jump a:hover{background:#f3e5ed;border-color:#d2a6bf!important;}
.main-navigation-menu a{font-family:Arial,Helvetica,sans-serif;font-size:13px;letter-spacing:.015em;}
.main-navigation-menu>li>a{color:#373941;transition:color .18s ease,background .18s ease;}
.main-navigation-menu>li>a:hover,.main-navigation-menu>.current-menu-item>a{color:var(--cm-accent);background:#faf5f8;}
.main-navigation-menu ul{border-radius:8px;box-shadow:0 12px 28px rgba(20,20,28,.12);}
.site-footer{background:#22232a;color:#d5d5dc;}
.site-footer a{color:#eee;}
@media(max-width:600px){.entry-title{font-size:28px!important;letter-spacing:-.025em;}.entry-content,.elementor-widget-text-editor{font-size:15px;}.entry-content a[href*="wa.me"]{font-size:13px!important;padding:12px 14px!important;}body .entry-content h2{margin-top:27px;font-size:23px;}body .entry-content h3{font-size:19px;}}
@media(prefers-reduced-motion:reduce){.entry-content a,.main-navigation-menu a{transition:none!important;}}

/* Contact details in prose stay selectable text, never buttons */
.entry-content a[href*="wa.me"]:not(.cm-query):not(.cm-actions a):not([style*="background"]):not(.wp-block-button__link),.entry-content a[href^="tel:"]:not(.cm-actions a):not(.wp-block-button__link){background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;letter-spacing:normal!important;color:var(--cm-accent)!important;display:inline!important;user-select:text;-webkit-user-select:text;}
.entry-content a[href^="mailto:"]:not(.cm-actions a):not(.wp-block-button__link){background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important;border-radius:0!important;user-select:text;-webkit-user-select:text;}

/* Restored final button palette and corners. */
body{--cm-button-hover:#665078;--cm-button-hover-text:#fff}
body.page-id-194,body.page-id-45{--cm-button-hover:#a34372}
body.page-id-311,body.page-id-10{--cm-button-hover:#347e8d}
body.page-id-323,body.page-id-33,body.page-id-58{--cm-button-hover:#92762c}
body .entry-content :is(a.cm-query,.cm-actions a,a[style*="background"],a.wp-block-button__link,a.elementor-button,button[type="submit"],input[type="submit"]){border-radius:8px!important}
body .entry-content :is(a.cm-query,.cm-actions a,a[style*="background"],a.wp-block-button__link,a.elementor-button,.cm-jump a,button[type="submit"],input[type="submit"]):is(:hover,:focus-visible){background:var(--cm-button-hover)!important;color:#fff!important;border-color:var(--cm-button-hover)!important;box-shadow:0 5px 16px #18181e29}
body .entry-content a.cm-secondary-link,body .entry-content a.cm-secondary-link:is(:hover,:focus-visible){display:inline-block;background:transparent!important;color:#a61c68!important;padding:10px 0!important;box-shadow:none!important;border:0!important;text-decoration:underline!important;text-underline-offset:5px;font-weight:600}
.cm-effects .cm-foil-videos video,.cm-effects #cm-iridiscente .cm-iridescent-videos video{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover}
#cm-visita-fabrica{margin-top:36px;padding:0;border:0!important;background:transparent!important}

.cm-service-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}.cm-service-gallery .cm-service-example{margin:0;min-width:0}.cm-service-gallery .cm-service-example img{width:100%;max-width:none;height:440px;object-fit:contain}.cm-service-gallery figcaption{line-height:1.5}@media(max-width:640px){.cm-service-gallery{grid-template-columns:1fr}.cm-service-gallery .cm-service-example img{height:auto;max-height:440px}}
.cm-more>section{margin:0 0 36px}.cm-services-links{display:flex;gap:16px;flex-wrap:wrap;margin:18px 0}.cm-work-grid figure{scroll-margin-top:70px}
