/* nascondo badge recaptcha google (form cf7 lo include, non desiderato in design figma) */
.grecaptcha-badge { visibility: hidden !important; }

/* ===== reset header tema (riusato da template old): nascondo menu/toggle/lingua/sub-menu, logo centrato ===== */
#masthead .collapse.navbar-collapse,
#masthead .navbar-toggle,
#masthead .ctn-select-lang,
#sub-menu-container { display: none !important; }

#masthead #ctn-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
#masthead .navbar-header {
    float: none !important;
    width: 100%;
    margin: 0 !important;
    text-align: center;
}
#masthead .navbar-brand {
    float: none !important;
    position: static !important;
    display: inline-block !important;
    left: auto !important;
    top: auto !important;
}
#masthead .logo-small { display: none !important; }
#masthead .logo_image { display: inline-block !important; max-width: 180px !important; }
#masthead .navbar.small .logo_image { max-height: 50px !important; max-width: none !important; }
#masthead .navbar.small:before { display: none !important; }

@media (max-width: 991px) {
    #masthead .navbar:not(.small) { min-height: 100px !important; }
    #masthead .navbar:not(.small) .logo_image { max-width: 120px !important; }
}
@media (max-width: 767px) {
    #masthead .navbar:before { display: block !important; }
    /* mobile: masthead fixed h 100px (theme default 50). spingo .site sotto */
    .site { padding-top: 100px !important; }
}

/* ===== palette nuova food service ===== */
/* palette austera coerente con sito istituzionale: bianco/nero/grigio + rosso brand #e01f26 solo sui cta */
/* ink #1a1a1a, body #444, hairline #d6d6d6, rosso #e01f26, rosso hover #b81017 */

/* ===== layout containers ===== */
/* page max 1920 centrata, no overflow oltre. layout interno scala 1440→1920 */
.page-food-service { max-width: 1920px; margin: 0 auto; background: #fff; overflow: hidden; }
/* wrap interno usato dentro sezioni: stesso max 1920 + padding lateral coerente */
.fsn-wrap { max-width: 1920px; margin: 0 auto; padding: 0 80px; box-sizing: border-box; }
@media (max-width: 991px) { .fsn-wrap { padding: 0 40px; } }
@media (max-width: 767px) { .fsn-wrap { padding: 0 25px; } }

/* ===== font stack: poppins (body/eyebrow), cormorant garamond (heading), gill sans mt (cta) ===== */
/* letter-spacing 2% globale su tutti testi+titoli (eyebrow/btn override sotto per tracking custom) */
.fsn-section,
.fsn-section p,
.fsn-section a,
.fsn-section input,
.fsn-section label,
.fsn-section span { /* font tema: font-family: "Poppins", sans-serif; */ font-weight: 500; letter-spacing: .02em; }
.fsn-section h1,
.fsn-section h2,
.fsn-section h3 { /* font tema: font-family: "Cormorant Garamond", "Times New Roman", serif; */ font-weight: 600; letter-spacing: .02em; }
.fsn-eyebrow {
    display: inline-block;
    color: #6b6b6b;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: .02em;
    text-transform: uppercase;
    /* font tema: font-family: "Poppins", sans-serif; */
    font-weight: 500;
    margin: 0;
}
.fsn-italic { font-style: italic; color: #1a1a1a; font-weight: 500; }

/* ===== cta buttons (riusabili in tutte le sezioni) ===== */
.fsn-section a.fsn-btn,
.fsn-section button.fsn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: .01em;
    text-transform: uppercase;
    /* font tema: font-family: "Gill Sans MT", "Gill Sans", Calibri, "Trebuchet MS", sans-serif; */
    font-weight: 400;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s;
    white-space: nowrap;
}
.fsn-section a.fsn-btn span,
.fsn-section button.fsn-btn span { font-family: inherit; font-weight: inherit; }
.fsn-section a.fsn-btn--primary,
.fsn-section button.fsn-btn--primary {
    background: #e01f26;
    color: #fff;
    border-color: #e01f26;
}
.fsn-section a.fsn-btn--primary:hover,
.fsn-section a.fsn-btn--primary:focus-visible,
.fsn-section button.fsn-btn--primary:hover,
.fsn-section button.fsn-btn--primary:focus-visible {
    background: #b81017;
    border-color: #b81017;
    color: #fff;
    text-decoration: none;
    outline: 0;
}
/* icona dentro bottone rosso: svg nero di default -> sbianco via filter */
.fsn-section .fsn-btn--primary .fsn-btn__icon { filter: brightness(0) invert(1); }
.fsn-section a.fsn-btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.fsn-section a.fsn-btn--ghost-light:hover,
.fsn-section a.fsn-btn--ghost-light:focus-visible {
    background: #fff;
    color: #000;
    text-decoration: none;
    outline: 0;
}
/* variante ghost per sfondo chiaro: bordo/testo scuri, hover riempie nero con testo bianco */
.fsn-section a.fsn-btn--ghost-dark {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}
.fsn-section a.fsn-btn--ghost-dark:hover,
.fsn-section a.fsn-btn--ghost-dark:focus-visible {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    outline: 0;
}
.fsn-btn__icon { width: 14px; height: 14px; flex-shrink: 0; }

/* ===== hero ===== */
/* layout overlay: image full + text col sx con gradient sfumato a dx verso image */
.fsn-hero { background: #fff; color: #1a1a1a; position: relative; overflow: hidden; min-height: 740px; }
.fsn-hero__inner {
    position: relative;
    min-height: 740px;
}
.fsn-hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    /* sfondo bianco come il layer sotto al testo: copre durante caricamento lento dell'immagine */
    background-color: #fff;
    /* immagine spostata a destra: offset positivo lascia spazio bianco a sx, soggetto verso destra */
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
/* gradient bianco→trasparente sopra image, sul lato sinistro per sfumare verso colonna testo */
.fsn-hero__media:before {
    content: "";
    position: absolute;
    inset: 0 60% 0 0;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,.85) 30%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.fsn-hero__text {
    position: relative;
    z-index: 2;
    width: 42%;
    padding: 90px 70px 90px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 740px;
    box-sizing: border-box;
}
/* aria sotto eyebrow "Pasta di grano IGP" prima del titolo */
.fsn-hero .fsn-eyebrow { margin-bottom: 22px; }
.fsn-hero h1 {
    font-size: 86px;
    line-height: 1;
    letter-spacing: .02em;
    margin: 0;
    color: #1a1a1a;
    font-weight: 600;
}
.fsn-hero h1.fsn-italic { color: #1a1a1a; font-style: italic; font-weight: 500; font-size: 96px; }
/* nowrap globale: "Food Service" non deve mai spezzare in 2 righe; eventuale overflow sfuma nella zona image (gradient nero) */
.fsn-hero__title h1 { white-space: nowrap; }
/* wrap titoli: desktop stack verticale, mobile wrap inline (vedi media query) */
.fsn-hero__title { display: flex; flex-direction: column; }
.fsn-hero__desc {
    margin: 28px 0 36px;
    /* font tema: font-family: "Poppins", sans-serif; */
    font-weight: 500;
    font-size: 18px;
    line-height: 31.32px;
    letter-spacing: .02em;
    color: #444;
    max-width: 420px;
}
.fsn-hero__cta { display: flex; gap: 12px; flex-wrap: nowrap; }

/* tablet: mantengo overlay ma colonna testo piu` larga + h1 ridotti */
@media (max-width: 991px) {
    .fsn-hero,
    .fsn-hero__inner { min-height: 640px; }
    .fsn-hero__text { width: 55%; min-height: 640px; padding: 70px 40px 70px 40px; }
    .fsn-hero__media { width: 60%; background-position: center bottom; }
    .fsn-hero__media:before { inset: 0 50% 0 0; }
    .fsn-hero h1 { font-size: 56px; }
    .fsn-hero h1.fsn-italic { font-size: 64px; }
    .fsn-hero__desc { font-size: 16px; line-height: 28px; margin: 22px 0 28px; }
}
/* mobile: stack testo sotto immagine, no overlay */
@media (max-width: 767px) {
    .fsn-hero,
    .fsn-hero__inner { min-height: 0; }
    .fsn-hero__inner { display: flex; flex-direction: column; }
    .fsn-hero__media {
        position: relative;
        width: 100%;
        height: 280px;
        top: auto; right: auto; bottom: auto;
        background-position: center bottom;
        order: 1;
    }
    .fsn-hero__media:before { display: none; }
    .fsn-hero__text {
        position: relative;
        width: 100%;
        min-height: 0;
        padding: 40px 25px 50px;
        order: 2;
    }
    /* mobile: titoli inline su una riga; flex-wrap manda "Food Service" sotto se non c'entra. nowrap su h1 evita spezzare "Food Service" su 2 righe */
    .fsn-hero__title {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 14px;
        row-gap: 2px;
    }
    .fsn-hero__title h1 { white-space: nowrap; }
    .fsn-hero h1 { font-size: 40px; }
    .fsn-hero h1.fsn-italic { font-size: 44px; }
    .fsn-hero__desc {
        font-size: 16px;
        line-height: 26px;
        margin: 20px 0 28px;
        max-width: none;
    }
    .fsn-hero__cta { flex-wrap: wrap; gap: 10px; }
    .fsn-hero__cta .fsn-btn { flex: 1 1 100%; padding: 14px 20px; font-size: 16px; line-height: 1.4; }
}
@media (max-width: 374px) {
    .fsn-hero h1 { font-size: 34px; }
    .fsn-hero h1.fsn-italic { font-size: 40px; }
}

/* ===== qualita` (3 colonne) ===== */
/* section senza padding verticale, image bleed full height col centrale */
.fsn-quality { background: #fff; padding: 0; }
.fsn-quality__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 0;
    align-items: stretch;
}
.fsn-quality__text {
    padding: 90px 40px 90px 0;
    align-self: center;
}
.fsn-quality h2 {
    font-size: 56px;
    line-height: 67px;
    letter-spacing: .02em;
    margin: 0 0 26px;
    color: #1a1a1a;
    font-weight: 600;
}
.fsn-quality__text p {
    font-size: 18px;
    line-height: 31.32px;
    letter-spacing: .02em;
    color: #444;
    margin: 0 0 16px;
    max-width: 420px;
}
.fsn-quality__text strong { font-weight: 700; color: #1a1a1a; }
/* span linee h2: desktop block (replica br), mobile override sotto via media query */
.fsn-quality__h2-line { display: block; }
/* image come <img>, max 366px larga, riempie tutta altezza col, no spazi bianchi sopra/sotto */
.fsn-quality__media {
    width: 100%;
    max-width: 366px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}
.fsn-quality__features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
    padding: 90px 40px;
    align-self: center;
}
/* feature card: icona sopra, label sotto, centered */
.fsn-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}
.fsn-feature__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fsn-feature__icon img { width: 100%; height: 100%; display: block; }
.fsn-feature__label {
    font-size: 20px;
    line-height: 34.8px;
    letter-spacing: .02em;
    color: #1a1a1a;
    font-weight: 500;
    /* font tema: font-family: "Poppins", sans-serif; */
}

/* tablet: 2 col grid, image dx span 2 row, testo+features sx */
@media (max-width: 991px) {
    .fsn-quality { padding: 60px 0; }
    .fsn-quality__grid { grid-template-columns: 1.3fr 1fr; gap: 40px; }
    .fsn-quality__text { padding: 0 0 0 0; }
    .fsn-quality__media { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 100%; height: 100%; min-height: 460px; }
    .fsn-quality__features { grid-column: 1; padding: 0; gap: 40px; align-items: flex-start; }
    .fsn-feature { flex-direction: row; gap: 18px; text-align: left; }
    .fsn-feature__icon { width: 52px; height: 52px; }
    .fsn-quality h2 { font-size: 40px; line-height: 1.15; margin: 0 0 20px; }
    .fsn-quality__text p { font-size: 17px; line-height: 28px; }
}
/* mobile: testo full width sopra, sotto 2 col (image sx, features stack dx). full bleed, no .fsn-wrap padding */
@media (max-width: 767px) {
    .fsn-quality { padding: 50px 0 60px; }
    .fsn-quality .fsn-wrap { padding: 0; }
    .fsn-quality__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: 16px;
        row-gap: 28px;
    }
    .fsn-quality__text {
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 0 25px;
        max-width: none;
    }
    .fsn-quality h2 { font-size: 30px; line-height: 1.2; margin: 12px 0 18px; }
    /* span line: desktop block (vedi sotto), mobile inline con spazio fra frasi */
    .fsn-quality__h2-line { display: inline; }
    .fsn-quality__text p { font-size: 16px; line-height: 26px; max-width: none; }
    /* features sx, image dx (full bleed dx). image stretch in altezza = features col */
    .fsn-quality__features {
        grid-column: 1;
        grid-row: 2;
        padding: 0 16px 0 25px;
        gap: 28px;
        align-items: center;
        justify-content: center;
    }
    .fsn-quality__media {
        grid-column: 2;
        grid-row: 2;
        width: calc(100% - 25px);
        max-width: none;
        height: 100%;
        min-height: 0;
        margin: 0;
        object-fit: cover;
        align-self: stretch;
        justify-self: start;
    }
    .fsn-feature {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    .fsn-feature__icon { width: 44px; height: 44px; }
    .fsn-feature__label { font-size: 15px; line-height: 1.3; }
}

/* ===== performance in cucina (01 / 02) ===== */
/* grid 2 col x 2 row: numeri outer aligned (01 sx, 02 dx), bodies inner. linea verticale solo a livello body (border-left col2 body) */
.fsn-performance { background: #fff; padding: 90px 0; position: relative; }
.fsn-performance__eyebrow-wrap {
    text-align: center;
}
.fsn-performance__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 0;
    row-gap: 60px;
    position: relative;
}
/* linea verticale centrale: parte sotto numeri (top = num height + row-gap), fino bottom grid */
.fsn-performance__grid:after {
    content: "";
    position: absolute;
    top: calc(67px + 60px);
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #d6d6d6;
}
.fsn-performance__num {
    /* font tema: font-family: "Cormorant Garamond", "Times New Roman", serif; */
    font-style: italic;
    /* numeri ridotti (era 180px) per estetica piu` austera, meno decorativa */
    font-size: 96px;
    line-height: 67px;
    letter-spacing: .02em;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}
.fsn-performance__num--01 { grid-column: 1; grid-row: 1; justify-self: start; }
.fsn-performance__num--02 { grid-column: 2; grid-row: 1; justify-self: end; }
.fsn-performance__body {
    /* font tema: font-family: "Poppins", sans-serif; */
    font-weight: 500;
    font-size: 18px;
    line-height: 31.32px;
    letter-spacing: .02em;
    color: #444;
    margin: 0;
    max-width: 580px;
}
.fsn-performance__body--01 { grid-column: 1; grid-row: 2; text-align: left; justify-self: start; padding-right: 60px; }
.fsn-performance__body--02 { grid-column: 2; grid-row: 2; text-align: right; justify-self: end; padding-left: 60px; }

/* tablet: mantengo 2 col ma riduco font numeri + body */
@media (max-width: 991px) {
    .fsn-performance { padding: 70px 0; }
    .fsn-performance__num { font-size: 80px; line-height: 1; }
    .fsn-performance__grid { row-gap: 50px; }
    .fsn-performance__grid:after { top: calc(80px + 50px); }
    .fsn-performance__body--01 { padding-right: 30px; }
    .fsn-performance__body--02 { padding-left: 30px; }
}
/* mobile: stack 01-body-02-body verticale, niente divider, numeri ridotti, body sempre left-align */
@media (max-width: 767px) {
    .fsn-performance { padding: 50px 0 60px; }
    .fsn-performance__grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0;
        row-gap: 30px;
    }
    .fsn-performance__grid:after { display: none; }
    .fsn-performance__num {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
        font-size: 72px;
        line-height: .9;
        margin: 0;
    }
    .fsn-performance__num--02 { order: 3; margin-top: 10px; }
    .fsn-performance__body {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
        padding: 0;
        text-align: left !important;
        font-size: 16px;
        line-height: 26px;
        max-width: none;
    }
    .fsn-performance__body--01 { order: 2; padding: 0 0 0 0; }
    .fsn-performance__body--02 { order: 4; padding: 0 0 0 0; }
}

/* ===== catalogo (dark) ===== */
/* layout overlay analogo hero: image full dx + text sx + gradient sfumato. border-bottom gold spesso che divide da contact */
.fsn-catalog {
    background: #fff;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    min-height: 800px;
}
.fsn-catalog__inner {
    position: relative;
    min-height: 800px;
}
.fsn-catalog__media-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
}
.fsn-catalog__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* gradient bianco→trasparente sopra image, sul lato sinistro per sfumare verso colonna testo */
.fsn-catalog__media-wrap:before {
    content: "";
    position: absolute;
    inset: 0 60% 0 0;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,.85) 30%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 1;
}
.fsn-catalog__text {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 90px 60px 90px 80px;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}
.fsn-catalog h2 {
    font-size: 56px;
    line-height: 67px;
    letter-spacing: .02em;
    color: #1a1a1a;
    margin: 26px 0;
    font-weight: 600;
}
.fsn-catalog__text p {
    /* font tema: font-family: "Poppins", sans-serif; */
    font-weight: 500;
    font-size: 18px;
    line-height: 31.32px;
    letter-spacing: .02em;
    color: #444;
    margin: 0 0 36px;
    max-width: 460px;
}
.fsn-catalog__cta-wrap { display: flex; }
/* span linee h2: desktop block (replica br), mobile inline (vedi media query 767) */
.fsn-catalog__h2-line { display: block; }
@media (max-width: 991px) {
    .fsn-catalog__text { width: 55%; padding: 70px 40px; }
    .fsn-catalog h2 { font-size: 42px; line-height: 1.15; }
}
@media (max-width: 767px) {
    .fsn-catalog { min-height: 0; }
    .fsn-catalog__inner { display: flex; flex-direction: column; min-height: 0; }
    .fsn-catalog__media-wrap {
        position: relative;
        width: 100%;
        height: 300px;
        padding: 0 25px 25px;
        box-sizing: border-box;
    }
    .fsn-catalog__media-wrap:before { display: none; }
    .fsn-catalog__text { width: 100%; padding: 50px 25px; min-height: 0; }
    .fsn-catalog h2 { font-size: 32px; line-height: 1.15; }
    /* mobile: h2 spans inline (wrap se non ci stanno), p full width */
    .fsn-catalog__h2-line { display: inline; }
    .fsn-catalog__text p { max-width: none; }
}

/* ===== contatti (dark) ===== */
.fsn-contact { background: #fff; color: #1a1a1a; padding: 90px 0; }
.fsn-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}
.fsn-contact__text { padding-right: 20px; }
.fsn-contact h2 {
    font-size: 56px;
    line-height: 60px;
    letter-spacing: .02em;
    color: #1a1a1a;
    margin: 0 0 26px;
    max-width: 560px;
    font-weight: 600;
}
.fsn-contact__intro {
    /* font tema: font-family: "Poppins", sans-serif; */
    font-weight: 500;
    font-size: 18px;
    line-height: 31.32px;
    letter-spacing: .02em;
    color: #444;
    margin: 0;
    max-width: 460px;
}

/* form cf7 scoped a .fsn-contact (non collide con vecchio template) */
.fsn-contact .wpcf7 form .row { margin: 0 -10px; }
.fsn-contact .wpcf7 form .row > [class^="col-"] { padding: 0 10px; margin-bottom: 18px; }
.fsn-contact .wpcf7 .fs-field-label,
.fsn-contact .wpcf7 .fsn-field-label { display: none; }
.fsn-contact .wpcf7 input[type="text"],
.fsn-contact .wpcf7 input[type="email"],
.fsn-contact .wpcf7 input[type="tel"],
.fsn-contact .wpcf7 textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #cccccc;
    border-radius: 0;
    padding: 14px 16px;
    font-size: 14px;
    color: #1a1a1a;
    box-shadow: none;
    outline: 0;
    transition: border-color .3s;
    /* font tema: font-family: "Nunito Sans", sans-serif; */
}
.fsn-contact .wpcf7 textarea {
  height: 34px; resize: vertical;
  padding: 6px 15px;
}
.fsn-contact .wpcf7 input[type="text"]:focus,
.fsn-contact .wpcf7 input[type="email"]:focus,
.fsn-contact .wpcf7 input[type="tel"]:focus,
.fsn-contact .wpcf7 textarea:focus { border-color: #1a1a1a; }
.fsn-contact .wpcf7 input::placeholder,
.fsn-contact .wpcf7 textarea::placeholder { color: #888; }

.fsn-contact .wpcf7 .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 12px;
}
.fsn-contact .wpcf7 .wpcf7-list-item-label { font-size: 12px; line-height: 1.5; color: #555; }
.fsn-contact .wpcf7 .wpcf7-list-item-label a { color: #1a1a1a; text-decoration: underline; }
.fsn-contact .wpcf7 input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; accent-color: #1a1a1a; }

/* submit: override max-height tema (cf7) + theme .btn.btn-primary */
.fsn-contact .wpcf7 .wpcf7-submit.btn.btn-primary {
    background: #e01f26;
    color: #fff;
    border: 1px solid #e01f26;
    border-radius: 0;
    height: 56px;
    max-height: none !important;
    line-height: 54px;
    padding: 0 32px;
    margin-top: 14px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    box-shadow: none;
    outline: 0;
    transition: background-color .3s, border-color .3s;
}
.fsn-contact .wpcf7 .wpcf7-submit.btn.btn-primary:hover,
.fsn-contact .wpcf7 .wpcf7-submit.btn.btn-primary:focus,
.fsn-contact .wpcf7 .wpcf7-submit.btn.btn-primary.focus {
    background: #b81017;
    border-color: #b81017;
    color: #fff;
    box-shadow: none;
    outline: 0;
}
/* submit button (sostituito via js dopo dom ready, vedi script fondo). figma specs: Gill Sans MT 400 18px lh 32 ls .01em color #000 */
.fsn-contact .wpcf7 button.fsn-submit-btn.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e01f26;
    color: #fff;
    border: 1px solid #e01f26;
    border-radius: 0;
    height: 56px;
    max-height: none !important;
    line-height: 32px;
    padding: 0 32px;
    margin-top: 14px;
    font-size: 18px;
    letter-spacing: .01em;
    text-transform: uppercase;
    font-weight: 400;
    width: 100%;
    box-shadow: none;
    outline: 0;
    transition: background-color .3s, border-color .3s;
    cursor: pointer;
    /* font tema: font-family: "Gill Sans MT", "Gill Sans", Calibri, "Trebuchet MS", sans-serif; */
}
.fsn-contact .wpcf7 button.fsn-submit-btn.btn.btn-primary:hover,
.fsn-contact .wpcf7 button.fsn-submit-btn.btn.btn-primary:focus,
.fsn-contact .wpcf7 button.fsn-submit-btn.btn.btn-primary.focus {
    background: #b81017;
    border-color: #b81017;
    color: #fff;
    box-shadow: none;
    outline: 0;
}
.fsn-contact button.fsn-submit-btn span { font-family: inherit; font-weight: inherit; }
/* icona send: svg nera di default -> sbianco su bottone rosso */
.fsn-submit-btn__icon { width: 18px; height: 18px; flex-shrink: 0; display: block; filter: brightness(0) invert(1); }

.fsn-contact .wpcf7 span.wpcf7-not-valid-tip { color: #cc0000 !important; font-size: 12px !important; margin-top: 6px; display: block; }
.fsn-contact .wpcf7-form { display: flex; flex-direction: column; }
.fsn-contact .wpcf7-form > .wpcf7-response-output {
    order: 1;
    border: 1px solid #e0e0e0;
    color: #1a1a1a;
    background: #f6f6f6;
    margin: 0 0 16px;
    padding: 12px 18px;
    font-size: 13px;
    text-align: center;
}
.fsn-contact .wpcf7-form > .fsn-submit-wrap { order: 2; }

@media (max-width: 991px) {
    .fsn-contact { padding: 70px 0; }
    .fsn-contact__grid { gap: 40px; }
    .fsn-contact h2 { font-size: 36px; line-height: 1.15; margin: 0 0 18px; }
    .fsn-contact__text { padding-right: 0; }
    /* tablet: input piu` vicini fra loro + textarea raddoppiata */
    .fsn-contact .wpcf7 form .row > [class^="col-"] { margin-bottom: 0; }
    .fsn-contact .wpcf7 textarea { height: 64px; padding: 10px 15px; }
    .fsn-contact .wpcf7 .wpcf7-submit.btn.btn-primary,
    .fsn-contact .wpcf7 button.fsn-submit-btn.btn.btn-primary { margin-top: 8px; }
}
@media (max-width: 767px) {
    .fsn-contact { padding: 50px 0 60px; }
    .fsn-contact__grid { grid-template-columns: 1fr; gap: 30px; padding: 0 25px; }
    .fsn-contact h2 { font-size: 28px; line-height: 1.2; margin: 0 0 14px; }
    .fsn-contact__intro { font-size: 16px; line-height: 26px; }
}

/* banner ringraziamento post-invio (riusato pattern vecchio) */
.fsn-thanks-banner {
    display: none;
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    margin: 24px 0 0;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}
.fsn-thanks-banner.is-visible { opacity: 1; transform: translateY(0); }
.fsn-thanks-banner h3 { margin: 0 0 12px; font-size: 22px; color: #1a1a1a; }
.fsn-thanks-banner p { margin: 0; font-size: 15px; line-height: 1.6; color: #444; }

/* ===== ricette (grid 4 col) ===== */
.fsn-recipes { background: #fff; padding: 90px 0 100px; }
.fsn-recipes__head { text-align: center; margin-bottom: 50px; }
.fsn-recipes__head h2 {
    font-size: 56px;
    line-height: 67px;
    letter-spacing: .02em;
    margin: 0;
    color: #1a1a1a;
    font-weight: 600;
}
/* grid 4 col fixed: card non stretch quando ne mancano. wrap su righe se >4 */
.fsn-recipes__grid {
    display: grid;
    grid-template-columns: repeat(4, 338px);
    justify-content: center;
    gap: 24px;
}

/* card figma: image cima 250px + zona nera 109px (title centrato + divider gold 60% + cta uppercase gold + freccia). lieve gradient nero sopra bordo image */
.fsn-recipe-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 338px;
    height: auto;
    min-height: 359px;
    background: #fff;
    border: 1px solid #e7e1d0;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}
.fsn-recipe-card:hover,
.fsn-recipe-card:focus-visible { text-decoration: none; color: inherit; outline: 0; }

.fsn-recipe-card__media-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    overflow: hidden;
}
.fsn-recipe-card__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* sfumatura bianca leggera sopra bordo bottom image, sfuma image nel bianco */
.fsn-recipe-card__media-wrap:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}
/* info area: title in alto, cta+divider in fondo. spazio variabile (titoli diversi) tra title e cta */
.fsn-recipe-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 18px 0;
    text-align: center;
    background: #fff;
}
.fsn-recipe-card__title {
    color: #1a1a1a;
    /* font tema: font-family: "Fredoka", "Poppins", sans-serif; */
    font-weight: 500;
    font-size: 18px;
    line-height: 21.78px;
    letter-spacing: .02em;
    margin: 0;
    /* tronca a max 2 righe: max-height fallback garantito anche se browser ignora -webkit-box */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(21.78px * 2);
}
/* divider grigio orizzontale 60% width centrato sul fondo card sotto cta */
.fsn-recipe-card__divider {
    width: 46%;
    height: 1px;
    background: #d6d6d6;
    border: 0;
    margin: 0 0 16px;
}
.fsn-recipe-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 12px;
    color: #e01f26;
    /* font tema: font-family: "Gill Sans MT", "Gill Sans", Calibri, "Trebuchet MS", sans-serif; */
    font-size: 13px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 400;
}
.fsn-recipe-card__arrow { width: 16px; height: 10px; display: block; transition: transform .3s; }
.fsn-recipe-card:hover .fsn-recipe-card__arrow { transform: translateX(4px); }

@media (max-width: 1399px) {
    .fsn-recipes__grid { grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin: 0 auto; }
    .fsn-recipe-card { width: 100%; }
}
/* tablet: 2 col, card height auto */
@media (max-width: 991px) {
    .fsn-recipes { padding: 70px 0 80px; }
    .fsn-recipes__head { margin-bottom: 40px; }
    .fsn-recipes__head h2 { font-size: 40px; line-height: 1.15; }
    .fsn-recipes__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .fsn-recipe-card { height: auto; min-height: 320px; }
    .fsn-recipe-card__media-wrap { height: 200px; }
}
/* mobile (451-767): 2 col */
@media (max-width: 767px) {
    .fsn-recipes { padding: 50px 0 60px; }
    .fsn-recipes__head h2 { font-size: 30px; line-height: 1.2; }
    .fsn-recipes__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 25px; }
    .fsn-recipe-card { height: auto; min-height: 280px; }
    .fsn-recipe-card__media-wrap { height: 160px; }
    .fsn-recipe-card__title { font-size: 16px; line-height: 1.2; }
}
/* small (<=500): 1 col, titolo no clamp (puo` andare 3+ righe), card cresce con contenuto */
@media (max-width: 500px) {
    .fsn-recipes__grid { grid-template-columns: 1fr; gap: 20px; }
    .fsn-recipe-card { height: auto; min-height: 0; overflow: visible; }
    .fsn-recipe-card__media-wrap { height: 220px; }
    .fsn-recipe-card__info { padding-bottom: 14px; }
    .fsn-recipe-card__title {
        font-size: 18px;
        display: block;
        -webkit-line-clamp: none;
        -webkit-box-orient: initial;
        line-clamp: none;
        overflow: visible;
        text-overflow: clip;
        max-height: none;
    }
}
