
.nav-row img {
    border-radius: 12px;
}

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

.page-id-2 .site-main>*,
.page-id-2 .wpb_row,
.page-id-2 .vc_row-fluid,
.page-id-2 .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%;
}

/* =========================
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, .92);
    --navText2: rgba(255, 255, 255, .72);

    --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;
}

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

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);
}

.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;
    /* necessario per centrare il logo in mobile */
}

.brand {
    gap: 12px;
    color: #fff;
    font-weight: 400;
    letter-spacing: .4px;
    display: inline-flex;
    align-items: center;
}

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

.brand>span:not(.logo-card) {
    position: relative;
    top: -10px;
}

.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;
}

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

.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;
}

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

.menu a:focus-visible {
    outline: 3px solid rgba(200, 155, 26, .40);
    outline-offset: 2px;
}

.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);
}

.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://storage.googleapis.com/img_meltemi/SITI/societari/lydiamedia/hero.jpeg");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, .32) 0%,
            rgba(0, 0, 0, .22) 42%,
            rgba(0, 0, 0, .30) 100%);
}

.hero-inner {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 64px var(--pad);
    color: #fff;
}

.hero-inner h1 {
    font-size: 62px;
    line-height: 1.02;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.strip-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
}

.strip-item {
    padding: 20px 14px;
    border-right: 1px solid var(--line);
}

.strip-item:last-child {
    border-right: 0;
}

.strip-item-inner {
    width: 100%;
    text-align: center;
}

.strip-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 400;
    font-size: 12px;
    color: #1a1d24;
}

.strip-top img {
    width: 28px;
    height: 28px;
    opacity: .90;
}

.strip-thumb {
    margin: 14px auto 0;
    width: 92%;
    max-width: 360px;
    height: 140px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.strip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

section {
    padding: 70px 0;
}

.sec-title {
    font-size: 44px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    text-align: center;
}

.sub {
    margin-top: 12px;
    color: var(--muted);
    max-width: 78ch;
    font-size: 15px;
}

.contact {
    border-top: 1px solid var(--line);
    background: #fff;
}

label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0 6px;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: var(--text);
    font-family: Helvetica, Arial, sans-serif;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: rgba(141, 16, 32, .34);
    box-shadow: 0 0 0 4px rgba(141, 16, 32, .10);
}

.form-row {
    display: block;
}

.form-row>div {
    margin-top: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 400;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    letter-spacing: .2px;
    font-family: Helvetica, Arial, sans-serif;
}

.btn-primary {
    background: var(--accent);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, .06);
}

.fineprint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.status {
    margin-top: 12px;
    display: none;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(111, 12, 24, .22);
    background: rgba(111, 12, 24, .06);
    color: var(--text);
    font-size: 13px;
    font-weight: 400;
}

footer {
    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);
    }

    .hero-inner {
        padding: 86px var(--pad-lg);
    }
}

/* ===== MOBILE: logo centrato nella navbar ===== */
@media (max-width: 980px) {
    .menu {
        display: none;
    }

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

    /* logo centrato orizzontalmente e verticalmente nella navbar */
    .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

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

    /* aumenta qui */
    .hero-bg {
        transform: scale(1.18) translateY(6%);
        transform-origin: center;
        background-position: 50% 100%;
    }

    .hero {
        min-height: 58vh;
    }

    .hero-inner {
        padding: 54px var(--pad);
    }

    .hero-inner h1 {
        font-size: 40px;
    }

    .strip-row {
        grid-template-columns: 1fr;
    }

    .strip-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .strip-item:last-child {
        border-bottom: 0;
    }

    .strip-item-inner {
        text-align: left;
    }

    .strip-top {
        justify-content: flex-start;
    }

    .strip-thumb {
        width: 100%;
        max-width: none;
        height: 160px;
    }
}

@media (max-width: 520px) {
    .hero-inner h1 {
        font-size: 34px;
        letter-spacing: 1px;
    }
}
