/* Compatibility rules for the original Media Altezza layout. */
.entry-content > .text.pageheader,.page-header .pageheader,.article-header .pageheader{width:90%;max-width:1440px;margin:20px auto 50px;font-family:"Mazzard H",Arial,sans-serif;font-size:36px;font-weight:350;line-height:1.307;letter-spacing:.03em}
.entry-content>.pagetitle{width:90%;margin:20px auto 50px}
.entry-content img{max-width:100%;height:auto}
.ma-contact-dialog{width:min(920px,calc(100vw - 36px));max-height:calc(100vh - 36px);padding:0;border:0;background:#f2f2f2;color:#111;overflow:auto}
.ma-contact-dialog::backdrop{background:rgba(0,0,0,.72)}
.ma-contact-dialog .ma-contact{background:transparent}
.ma-contact-dialog .ma-contact__inner{width:auto;display:block;padding:50px}
.ma-contact-dialog .ma-contact__intro{margin-bottom:28px}
.ma-contact-dialog .ma-contact__title{font-size:clamp(32px,4vw,54px)}
.ma-contact-dialog__close{position:sticky;top:12px;float:right;z-index:2;width:40px;height:40px;margin:12px 12px -52px 0;border:0;border-radius:50%;background:#111;color:#fff;font-size:28px;line-height:1;cursor:pointer}
@media(max-width:767px){.entry-content>.text.pageheader,.page-header .pageheader,.article-header .pageheader{font-size:30px;margin-bottom:24px}.ma-contact-dialog .ma-contact__inner{padding:34px 22px}}

/* Imported paragraphs that lost their legacy text class. */
.entry-content p:not([class]) {
    font-family: "Mazzard H", Arial, sans-serif;
    font-style: normal;
    font-weight: 350;
    font-size: 14px;
    line-height: 1.522;
    letter-spacing: .03em;
}
.page-content img,
.home-page img,
.article img {
    height: auto;
}

.ma-imported-content img {
    max-width: 100%;
    height: auto;
}
/* Match the original two-stroke burger without the browser's button face. */
.header__burger {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.header__burger span {
    display: none;
}
.header__burger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

/* Keep the imported services section aligned with the original dark design. */
.home-page #services { background-color: #000; color: #fff; }

/* visual parity adjustments for the imported pages */
body.page-id-9 .desctop.mt-70 { margin-top: 89px; }
body.page-id-10 .desctop.minniz { margin-top: -31px; }
body.single-post .ma-imported-content .nav > p.text.grey {
    display: block;
    flex: 0 0 auto;
    margin: 0 6px;
}
body.single-post .ma-imported-content .nav > p.text.grey::before {
    content: '\\';
}
/* Restored contact form in the original home page two-column layout. */
.ma-contact-form--inline .ma-contact-form__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.ma-contact-form--inline .ma-contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-family: "Mazzard H", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 350;
}
.ma-contact-form--inline .ma-contact-form__consent input {
    flex: 0 0 auto;
    margin: 1px 0 0;
}
.ma-contact-form--inline .ma-contact-form__submit:disabled {
    opacity: .65;
    cursor: wait;
}
.ma-contact-form--inline .ma-contact-form__status {
    margin-top: 12px;
    font-size: 13px;
}
@media (max-width: 768px) {
    .ma-contact-form--inline .w70 { width: 100%; }
    .ma-contact-form--inline .desctopFlex { display: block; }
    .ma-contact-form--inline .w50 { width: 100%; }
}

/* Commercial proposal modal: match the original black dialog layout. */
.ma-contact-dialog {
    position: fixed;
    box-sizing: border-box;
    width: min(636px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 1px solid #fff;
    border-radius: 10px;
    background: #000;
    color: #fff;
}
.ma-contact-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.ma-contact-dialog__close {
    position: absolute;
    top: -16px;
    right: -16px;
    float: none;
    z-index: 3;
    width: 38px;
    height: 38px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.ma-proposal-modal { padding: 20px 38px 24px; }
.ma-proposal-modal__title {
    margin: 0 0 2px;
    color: #fff;
    font-family: "Mazzard H", Arial, sans-serif;
    font-size: 30px;
    font-weight: 350;
    line-height: 1.3;
}
.ma-proposal-modal__subtitle {
    margin: 0 0 8px;
    color: #fff;
    font-family: "Mazzard H", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
}
.ma-contact-dialog .ma-contact-form--modal .form-control { margin-bottom: 27px; }
.ma-contact-dialog .ma-contact-form--modal .form-label { color: #fff; font-size: 14px; }
.ma-contact-dialog .ma-contact-form--modal .input-group {
    margin-top: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #fff;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.ma-contact-dialog .ma-contact-form--modal .input-group > label { color: #fff; line-height: 1; }
.ma-contact-dialog .ma-contact-form--modal .input-item {
    min-width: 0;
    margin: 0;
    border: 0;
    color: #fff;
    font-size: 16px;
}
.ma-contact-dialog .ma-contact-form--modal .input-item:focus { outline: none; }
.ma-contact-dialog .ma-contact-form__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.ma-contact-dialog .ma-proposal-modal__submit {
    min-width: 176px;
    min-height: 55px;
    padding: 14px 30px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-family: "Mazzard H", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}
.ma-contact-dialog .ma-proposal-modal__submit:hover,
.ma-contact-dialog .ma-proposal-modal__submit:focus-visible { background: #fff; color: #000; }
.ma-contact-dialog .ma-proposal-modal__submit:disabled { opacity: .65; cursor: wait; }
.ma-contact-dialog .ma-proposal-modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    color: #fff;
    font-family: "Mazzard H", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
}
.ma-contact-dialog .ma-proposal-modal__consent input { flex: 0 0 auto; margin: 1px 0 0; }
.ma-contact-dialog .ma-contact-form__status { margin-top: 10px; color: #fff; font-size: 13px; }
@media (max-width: 600px) {
    .ma-contact-dialog { width: calc(100vw - 28px); max-height: calc(100vh - 28px); }
    .ma-proposal-modal { padding: 27px 22px 22px; }
    .ma-proposal-modal__title { font-size: 25px; }
    .ma-proposal-modal__subtitle { font-size: 15px; }
    .ma-contact-dialog .ma-contact-form--modal .form-control { margin-bottom: 22px; }
    .ma-contact-dialog .ma-proposal-modal__submit { width: 100%; }
    .ma-contact-dialog__close { top: -13px; right: -9px; }
}

/* SEO content additions: preserve the imported design while clarifying page structure. */
.ma-seo-home-h1 { font: inherit; font-size: inherit; line-height: inherit; margin: 0; }
.ma-seo-h1 { width: 90%; max-width: 1440px; margin: 20px auto 50px; font-family: "Mazzard H", Arial, sans-serif; font-size: 36px; font-weight: 350; line-height: 1.307; letter-spacing: .03em; }
.ma-seo-faq { width: 90%; max-width: 1200px; margin: 56px auto 72px; }
.ma-seo-faq h2 { margin: 0 0 26px; font-family: "Mazzard H", Arial, sans-serif; font-weight: 350; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; }
.ma-seo-faq details { padding: 18px 0; border-bottom: 1px solid currentColor; }
.ma-seo-faq summary { cursor: pointer; font-family: "Mazzard H", Arial, sans-serif; font-size: 18px; line-height: 1.45; }
.ma-seo-faq details p { max-width: 850px; margin: 14px 0 0; }
.ma-related-content { width: 90%; max-width: 1200px; margin: 48px auto 72px; padding: 28px 32px; border: 1px solid currentColor; }
.ma-related-content h2 { margin: 0 0 12px; font-family: "Mazzard H", Arial, sans-serif; font-size: clamp(23px, 2.5vw, 32px); font-weight: 350; }
.ma-related-content a { font-family: "Mazzard H", Arial, sans-serif; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .ma-seo-h1 { font-size: 30px; margin-bottom: 24px; } .ma-seo-faq { margin: 36px auto 48px; } .ma-related-content { padding: 22px 18px; margin: 32px auto 48px; } }
.ma-seo-home-h1 { font-size: clamp(36px, 4.25vw, 54px); line-height: 1.14; }
@media (max-width: 767px) { .ma-seo-home-h1 { font-size: clamp(34px, 8vw, 44px); line-height: 1.15; } }
.home-page .entry-content h1.text.ma-seo-home-h1 { font-size: clamp(36px, 4.25vw, 54px); line-height: 1.14; }
@media (max-width: 767px) { .home-page .entry-content h1.text.ma-seo-home-h1 { font-size: clamp(34px, 8vw, 44px); line-height: 1.15; } }

.ma-contact-form .ma-form-icon { display:block; width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ma-contact-form .ma-form-icon--phone { fill:currentColor; stroke:none; }
/* Use the site's typeface for every breadcrumb item, including the current span. */
.nav .text { font-family: "Mazzard H", Arial, sans-serif; font-style: normal; font-weight: 350; font-size: 14px; line-height: 1.522; letter-spacing: .03em; }
.nav [aria-current="page"] { font-family: "Mazzard H", Arial, sans-serif; font-weight: 350; }
