.nav-row img  {
height: 56px;
width: auto;
display: block;
border-radius: 12px;
}

/* Full Width Layout for Specific Page */
.page-id-84,
.page-id-84 body,
.page-id-84 .site,
.page-id-84 .site-content,
.page-id-84 .content-area,
.page-id-84 .container,
.page-id-84 .entry-content,
.page-id-84 .wpb-content-wrapper,
.page-id-84 .vc_row,
.page-id-84 .row {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.page-id-84 .site-main>*,
.page-id-84 .wpb_row,
.page-id-84 .vc_row-fluid,
.page-id-84 .content-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

.vc_column_container>.vc_column-inner {
    box-sizing: border-box;
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 100%;
}

/* Annulla padding/margini applicati dal tema al wrapper della pagina (WordPress) */
.post-34.page.type-page.status-draft.hentry {
    margin: 0 !important;
    padding: 0 !important;
}

/* Tipico: il tema aggiunge spacing al contenitore interno */
.post-34.page.type-page.status-draft.hentry>* {
    margin-top: 0 !important;
}

/* Se il tema usa un wrapper “content” dentro l’articolo */
.post-34.page.type-page.status-draft.hentry .entry-content,
.post-34.page.type-page.status-draft.hentry .wp-block-post-content,
.post-34.page.type-page.status-draft.hentry .content-area,
.post-34.page.type-page.status-draft.hentry .site-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Se c’è un padding top “global” sul body/page */
body.page-id-34 {
    margin: 0 !important;
    padding: 0 !important;
}

/* PAGE 34 — azzera spacing “tema + WPBakery” sopra/sotto il tuo header.nav */
body.page-id-34,
body.postid-34 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Wrapper tema (spesso aggiunge padding top/bottom) */
body.page-id-34 .site,
body.page-id-34 .site-content,
body.page-id-34 .content-area,
body.page-id-34 .site-main,
body.page-id-34 #primary,
body.page-id-34 #content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Article + entry-content */
body.page-id-34 article#post-34,
body.page-id-34 article#post-34 .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* WPBakery: righe/colonne spesso hanno margin/padding di default */
body.page-id-34 article#post-34 .wpb-content-wrapper,
body.page-id-34 article#post-34 .vc_row,
body.page-id-34 article#post-34 .wpb_row,
body.page-id-34 article#post-34 .vc_row-fluid,
body.page-id-34 article#post-34 .wpb_column,
body.page-id-34 article#post-34 .vc_column_container,
body.page-id-34 article#post-34 .vc_column-inner,
body.page-id-34 article#post-34 .wpb_wrapper,
body.page-id-34 article#post-34 .wpb_raw_code,
body.page-id-34 article#post-34 .wpb_raw_html {
    margin: 0 !important;
    padding: 0 !important;
}

/* Evita che il primo/ultimo elemento “spinga” con margin collassato */
body.page-id-34 article#post-34 .entry-content> :first-child,
body.page-id-34 article#post-34 .entry-content .wpb-content-wrapper> :first-child {
    margin-top: 0 !important;
}

body.page-id-34 article#post-34 .entry-content> :last-child,
body.page-id-34 article#post-34 .entry-content .wpb-content-wrapper> :last-child {
    margin-bottom: 0 !important;
}

/* Se il tema mette padding sul blocco pagina */
body.page-id-34 .page,
body.page-id-34 .page-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================
       CF7 — CONTACTO (stile come screenshot)
       - Footer form: privacy a sinistra, submit a destra
    ========================= */

/* wrapper del form (uacf7 / cf7) */
.lm-cf7,
.wpcf7 form {
    max-width: 720px;
    margin: 34px auto 0;
}

/* CF7 spesso wrappa in : reset */
.wpcf7 form p {
    margin: 0;
}

/* label */
.wpcf7 form label {
    display: block;
    font-size: 16px;
    color: #5b616e;
    margin: 22px 0 10px;
}

/* campi */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    border: 2px solid #ececec;
    border-radius: 18px;
    padding: 16px 18px;
    font-size: 16px;
    outline: none;
    background: #fff;
    color: #111318;
    font-family: Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* textarea */
.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
    padding-top: 18px;
}

/* focus */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: rgba(141, 16, 32, .34);
    box-shadow: 0 0 0 4px rgba(141, 16, 32, .08);
}

/* rimuovi placeholder visivamente (se per caso c’è) */
.wpcf7 ::placeholder {
    color: transparent;
}

/* footer form: privacy + submit */
.lm-bottom {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lm-fineprint {
    margin: 0;
    color: #5b616e;
    font-size: 16px;
    line-height: 1.45;
    flex: 1 1 520px;
    text-align: left;
}

.lm-fineprint a {
    text-decoration: underline;
}

/* acceptance dentro il footer */
.lm-fineprint .wpcf7-acceptance {
    display: inline;
    margin: 0;
}

.lm-fineprint .wpcf7-acceptance label {
    display: inline;
    margin: 0;
    font-size: 16px;
    color: #5b616e;
}

.lm-fineprint .wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: translateY(1px);
}

/* submit a destra */
.lm-submit {
    margin-left: auto;
    flex: 0 0 auto;
}

/* submit: piccolo, non full width su desktop */
.wpcf7 input[type="submit"] {
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid rgba(0, 0, 0, .06);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    letter-spacing: .2px;
    font-family: Helvetica, Arial, sans-serif;
    background: #aa141b;
    color: white;
    box-shadow: 0 14px 30px rgba(200, 155, 26, .18);
    min-width: 0;
    font-weight: 900;
}

.wpcf7 input[type="submit"]:hover {
    filter: brightness(1.03);
}

/* messaggi CF7 */
.wpcf7 .wpcf7-response-output {
    margin: 14px 0 0;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(111, 12, 24, .22);
    background: rgba(111, 12, 24, .06);
    color: #111318;
    font-size: 13px;
    font-weight: 400;
}

/* validazione inline */
.wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 13px;
    color: #6f0c18;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
    border-color: rgba(111, 12, 24, .40);
}

/* responsive */
@media (max-width: 980px) {
    .wpcf7 form {
        max-width: 720px;
    }

    .lm-bottom {
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .lm-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .lm-submit {
        margin-left: 0;
        width: 100%;
    }

    .wpcf7 input[type="submit"] {
        width: 100% !important;
    }
}

:root {
    --bg: #ffffff;
    --paper: #ffffff;
    --text: #111318;
    --muted: #5b616e;
    --line: #ececec;
    --sp-red: #8d1020;
    --sp-red-2: #6f0c18;
    --sp-gold: #c89b1a;
    --sp-gold-2: #a68014;
    --nav: var(--sp-red);
    --nav2: var(--sp-red-2);
    --navText: rgba(255, 255, 255, .90);
    --navText2: rgba(255, 255, 255, .68);
    --accent: var(--sp-gold);
    --max: 1120px;
    --pad: 22px;
    --pad-lg: 34px;
    --nav-h: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    min-height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.lm-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

main {
    flex: 1 0 auto;
}

.entry-content,
article.page,
article.hentry {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

section {
    scroll-margin-top: calc(var(--nav-h) + 18px);
}

.nav-flagbar {
    height: 7px;
    background: linear-gradient(to right, #aa151b 0%, #aa151b 33.333%, #f1bf00 33.333%, #f1bf00 66.666%, #aa151b 66.666%, #aa151b 100%);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(141, 16, 32, .98), rgba(111, 12, 24, .98));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-row {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

.brand {
    gap: 12px;
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand span {
    color: #fff;
    font-weight: 900;
}

.brand .logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(17, 19, 24, .12);
}

.brand .logo-card img {
    height: 56px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--navText2);
}

.menu a {
    padding: 10px 6px;
    border-radius: 12px;
    transition: color .15s ease, background .15s ease;
}

.menu a:hover {
    color: var(--navText);
    background: rgba(255, 255, 255, .08);
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, .90);
    border-radius: 3px;
    opacity: .95;
    transition: transform .16s ease, opacity .16s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.panel {
    background: linear-gradient(180deg, rgba(111, 12, 24, .98), rgba(111, 12, 24, .96));
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.panel .wrap {
    padding: 12px var(--pad);
}

.panel a {
    display: block;
    padding: 14px 10px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .86);
    letter-spacing: .4px;
}

.panel a:hover {
    background: rgba(255, 255, 255, .10);
}

.page {
    padding: 60px 0 78px;
    background: #fff;
}

.sec-title {
    font-size: 56px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    margin: 0;
    margin-top: 3rem;
}

.sub {
    margin: 14px auto 0;
    color: var(--muted);
    max-width: 72ch;
    font-size: 18px;
    text-align: center;
    line-height: 1.55;
}

footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    padding: 22px 0;
    color: var(--muted);
    font-size: 12px;
    background: #fff;
    text-align: center;
}

.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.foot a {
    text-decoration: underline;
}

@media (min-width: 980px) {
    .wrap {
        padding: 0 var(--pad-lg);
    }
}

@media (max-width: 980px) {
    .menu {
        display: none;
    }

    .burger {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .brand .logo-card img {
        height: 46px;
    }

    /* aumenta qui */

    .nav-row {
        justify-content: center;
    }

    .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .sec-title {
        font-size: 46px;
    }

    .sub {
        font-size: 17px;
    }
}

@media (max-width: 520px) {
    .sec-title {
        font-size: 40px;
    }
}
