/* Approved Contact and Quote controls, with no quote completion animations. */
/* Approved Home CTA buttons. Keep the original colours and honour reduced motion. */

html body:is(.contact-page,.preventivo-page) :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp,.preventivo-action-btn){
--mfe-control-radius:12px;min-height:50px!important;height:auto!important;box-sizing:border-box!important;padding:12px 20px!important;border-radius:12px!important;gap:10px!important;align-items:center!important;justify-content:center!important;line-height:1.35!important;transition:transform 180ms ease,box-shadow 180ms ease!important;}
html body:is(.contact-page,.preventivo-page) :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp,.preventivo-action-btn) :is(svg,i[data-lucide],span[data-lucide]){width:20px!important;height:20px!important;flex:0 0 20px!important;}
html body:is(.contact-page,.preventivo-page) :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp,.preventivo-action-btn):focus-visible{outline:3px solid #293659!important;outline-offset:4px!important;}
@media(hover:hover)and(pointer:fine){html body:is(.contact-page,.preventivo-page) :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp,.preventivo-action-btn):hover{transform:translateY(-2px)!important;box-shadow:0 6px 14px #29365926!important;}}
html body:is(.contact-page,.preventivo-page) :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp,.preventivo-action-btn):active{transform:translateY(0)!important;}
@media(prefers-reduced-motion:reduce){html body:is(.contact-page,.preventivo-page) :is(#mfe-home-buttons#mfe-home-buttons-specificity,a.button,button.button,a.guide-all-button,a.nav-cta--whatsapp,.preventivo-action-btn){transition:none!important;transform:none!important;}}

/* Align container corners without changing form fields or selection controls. */
html body.contact-page :is(#mfe-contact-card#mfe-contact-card-never#mfe-contact-card-extra,.about-contact-list>a,.about-contact-form){border-radius:16px!important;}
html body.preventivo-page :is(#mfe-quote-card#mfe-quote-card-never#mfe-quote-card-extra,.preventivo-profile-card,.preventivo-step-panel,.preventivo-package-summary,.preventivo-contact-details){border-radius:16px!important;}
/* Quote completion stays still, including the action buttons. */
html body.preventivo-page :is(#mfe-quote-motion#mfe-quote-motion-never#mfe-quote-motion-extra,.preventivo-action-btn,a.button,button.button){transition:none!important;transform:none!important;}

/* Contact cards: icon and heading share a row, with the contact detail below. */
html body.contact-page .about-contact-list>a{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;grid-template-areas:"icon label" "detail detail"!important;column-gap:10px!important;row-gap:10px!important;align-content:center!important;align-items:center!important;padding:18px!important}
html body.contact-page .about-contact-list>a>span:first-child{grid-area:icon;width:36px!important;height:36px!important;min-width:36px!important}
html body.contact-page .about-contact-list>a>small{grid-area:label;margin:0!important;align-self:center!important;font-size:12px!important;line-height:1.3!important}
html body.contact-page .about-contact-list>a>strong{grid-area:detail;display:block!important;margin:0!important;min-width:0;overflow-wrap:anywhere;font-size:14px!important;line-height:1.4!important}

/* Centre contact values and improve email readability. */
html body.contact-page .about-contact-list>a>strong{text-align:center!important;justify-self:stretch!important;width:100%!important}
html body.contact-page .about-contact-list>a[href^="mailto:"]>strong{font-size:15px!important}
