/* ============================================================
   LANDING.CSS - CSML Metodo Horeca
   Versione FINALE con tutte le correzioni
   ============================================================ */

/* ============================================================
   IMAGE PLACEHOLDER (per eventuali fallback)
============================================================ */
.img-placeholder {
    background: linear-gradient(135deg, #dde3e8, #c8d0d8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7a8a9a;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    gap: 8px;
}

.img-placeholder span {
    font-size: 10px;
    opacity: 0.7;
}

/* ============================================================
   WAVE WRAPPER (non usato ma mantenuto per compatibilità)
============================================================ */
.wave-bottom {
    position: relative;
    z-index: 1;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    margin-bottom: -2px;
}

/* ============================================================
   HEADER STICKY - CORREZIONE LOGO
============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--white);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition), transform 0.35s ease;
}

#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#site-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

.header-logo {
    height: 45px;
    width: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: transparent;
}

.header-logo img,
.header-logo-img {
    height: 45px;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    border-radius: 0 !important;
    background: transparent;
}

.header-brand {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .header-brand {
        font-size: 15px;
    }
}

/* ============================================================
   SECTION 1: HERO - CORREZIONE SPAZI E POSIZIONE
============================================================ */
#hero {
    padding: 0;  /* MODIFICATO: eliminato padding-top 70/100px */
    margin: 0;   /* AGGIUNTO: azzerato margine */
    background: var(--white);
    position: relative;
    overflow: visible;
}

.hero-inner {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 40px;
    align-items: center;
    margin-top: 0;
    padding-top: 40px; /* spazio per evitare taglio elementi grafici */
}

.hero-content {
    animation: heroContentIn 0.9s ease 0.1s both;
    padding-top: 0;
    margin-top: 0;
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-h1 {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 28px;
    margin-top: 0;
}

.hero-h1 .highlight-pct {
    color: var(--gold);
    font-size: 56px;
}

.hero-subhead {
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--anthracite);
    line-height: 1.65;
    margin-bottom: 24px;
}

.hero-subhead strong {
    font-weight: 600;
    color: var(--navy);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    margin-top: 20px;
}

.photo-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-frame-solid {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 85%;
    height: 85%;
    background: var(--gray-light);
    border-radius: 12px;
    z-index: 1;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.hero-frame-border {
    position: absolute;
    top: 20px;
    right: 0;
    width: 85%;
    height: 85%;
    border: 4px solid var(--blue);
    border-radius: 12px;
    z-index: 2;
}

.hero-frame-accent {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: var(--gold);
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.photo-out-of-bounds {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 4;
    filter: drop-shadow(0 15px 25px rgba(44, 62, 80, 0.15));
}

.hero-archetype {
    display: none;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hero-ctas .btn-primary {
    font-size: 20px;
    padding: 22px 50px;
}

.hero-microcopy {
    font-size: 15px;
    color: rgba(44, 62, 80, 0.55);
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 55% 45%;
        gap: 30px;
    }

    .hero-h1 {
        font-size: 38px;
    }

    .hero-h1 .highlight-pct {
        font-size: 44px;
    }
    
    .hero-visual {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 0;  /* MODIFICATO: azzerato anche su mobile */
        margin: 0;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .hero-content {
        order: 1;
        padding-bottom: 0;
    }

    .hero-visual {
        order: 2;
        margin: 10px auto 0;
        max-width: 100%;
        width: 100%;
        min-height: auto;
    }

    .hero-ctas {
        order: 3;
        align-items: center;
        width: 100%;
    }

    .hero-microcopy {
        text-align: center;
    }

    .photo-frame-wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 20px 0;
    }

    .hero-frame-solid {
        bottom: 10px;
        left: 5%;
        width: 90%;
        height: 90%;
    }

    .hero-frame-border {
        top: 10px;
        right: 5%;
        width: 90%;
        height: 90%;
        border-width: 3px;
    }

    .hero-frame-accent {
        width: 60px;
        height: 60px;
        top: -10px;
        right: 10px;
    }

    .photo-out-of-bounds {
        max-height: 400px;
    }

    .hero-h1 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .hero-h1 .highlight-pct {
        font-size: 36px;
    }

    .hero-subhead {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .hero-ctas .btn-primary {
        font-size: 17px;
        padding: 18px 28px;
        min-width: auto;
    }
}

/* ============================================================
   SECTION 2: SERVIZI
============================================================ */
.section-h2 {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.servizi-card {
    position: relative;
    background: var(--white);
    border: 1px solid #e4e8ed;
    border-radius: var(--radius);
    padding: 45px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servizi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.servizi-card--featured {
    border: 3px solid var(--gold);
}

.servizi-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
}

.servizi-icon {
    flex-shrink: 0;
}

.servizi-card-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.servizi-card--featured .servizi-card-title {
    color: var(--navy);
}

.servizi-card-copy {
    font-family: var(--font-body);
    font-size: 16px;
    color: #555;
    line-height: 1.65;
    flex: 1;
}

.servizi-card-cta {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--anthracite);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--blue);
    transition: color var(--transition), border-color var(--transition);
    align-self: flex-start;
}

.servizi-card-cta:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ============================================================
   SECTION 5: PROBLEMA NASCOSTO / BOSTON (stili condivisi)
============================================================ */
.boston-inner {
    max-width: 860px;
    margin: 0 auto;
}

.boston-pct {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.boston-pct--blue {
    color: var(--blue);
}

.boston-pct-inline {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 800;
    color: var(--blue);
}

.boston-watermark {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    mix-blend-mode: multiply;
    z-index: 0;
    pointer-events: none;
}

.boston-image-wrap {
    max-width: 70%;
    margin: 0 auto 20px;
}

.boston-image-wrap img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.boston-closing-body {
    font-size: 20px;
    color: #666;
    text-align: center;
    line-height: 1.65;
}

.pain-subtitle {
    text-align: center;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pain-list {
    list-style: none;
    max-width: 720px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    font-size: 18px;
    color: var(--navy);
    line-height: 1.65;
}

.pain-item:last-child {
    border-bottom: none;
}

.pain-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .pain-subtitle {
        font-size: 18px;
    }

    .pain-item {
        font-size: 16px;
        gap: 14px;
    }

    .boston-image-wrap {
        max-width: 100%;
    }

    .boston-pct {
        font-size: 32px;
    }
}

/* ============================================================
   SCROLL INVITE (gocce animate)
============================================================ */
.scroll-invite {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 8px 0 20px;
    background: var(--white);
}

.scroll-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    height: 34px;
}

.scroll-dot {
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
    opacity: 0;
}

.sd-1 {
    width: 8px;
    height: 8px;
}

.sd-2 {
    width: 6px;
    height: 6px;
}

.sd-3 {
    width: 4px;
    height: 4px;
}

.sd-gold {
    background: var(--gold);
}

.sd-blue {
    background: var(--blue);
}

.sd-navy {
    background: var(--navy);
}

.scroll-col:nth-child(1) .sd-1 {
    animation: dotCascade 1.9s ease-in-out infinite 0.00s;
}
.scroll-col:nth-child(1) .sd-2 {
    animation: dotCascade 1.9s ease-in-out infinite 0.26s;
}
.scroll-col:nth-child(1) .sd-3 {
    animation: dotCascade 1.9s ease-in-out infinite 0.52s;
}
.scroll-col:nth-child(2) .sd-1 {
    animation: dotCascade 1.9s ease-in-out infinite 0.20s;
}
.scroll-col:nth-child(2) .sd-2 {
    animation: dotCascade 1.9s ease-in-out infinite 0.46s;
}
.scroll-col:nth-child(2) .sd-3 {
    animation: dotCascade 1.9s ease-in-out infinite 0.72s;
}
.scroll-col:nth-child(3) .sd-1 {
    animation: dotCascade 1.9s ease-in-out infinite 0.40s;
}
.scroll-col:nth-child(3) .sd-2 {
    animation: dotCascade 1.9s ease-in-out infinite 0.66s;
}
.scroll-col:nth-child(3) .sd-3 {
    animation: dotCascade 1.9s ease-in-out infinite 0.92s;
}

@keyframes dotCascade {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    25% {
        opacity: 0.85;
        transform: translateY(0px);
    }
    65% {
        opacity: 0.45;
        transform: translateY(4px);
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* ============================================================
   SECTION 3: VIDEO VSL
============================================================ */
.vsl-inner {
    max-width: 800px;
    margin: 0 auto;
}

.vsl-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 36px;
    line-height: 1.6;
}

.vsl-bullets {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vsl-bullets li {
    font-size: 18px;
    color: var(--navy);
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    max-width: 520px;
    width: 100%;
}

.vsl-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    background: var(--blue);
    color: var(--white);
}

.vsl-video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
    margin-bottom: 36px;
    position: relative;
}

.vsl-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2635 0%, #2c3e50 60%, #1e3a4a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
}

.vsl-play-btn {
    width: 72px;
    height: 72px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--navy);
    padding-left: 4px;
    box-shadow: 0 0 0 12px rgba(255, 215, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vsl-video-placeholder:hover .vsl-play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 0 18px rgba(255, 215, 0, 0.12);
}

.vsl-video-label {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.vsl-video-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.vsl-quote {
    font-size: 20px;
    color: var(--navy);
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.vsl-quote::before,
.vsl-quote::after {
    content: '"';
    font-family: var(--font-head);
    font-size: 48px;
    color: var(--gold);
    line-height: 0;
    vertical-align: -16px;
    font-weight: 800;
}

.vsl-quote::before {
    margin-right: 4px;
}

.vsl-quote::after {
    margin-left: 4px;
}

@media (max-width: 768px) {
    .vsl-subtitle {
        font-size: 16px;
    }

    .vsl-bullets li {
        font-size: 16px;
    }

    .vsl-quote {
        font-size: 17px;
    }
}

/* ============================================================
   SECTION 4 UPDATES: pain-outside, pain-climax, stats box
============================================================ */
.pain-stats-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 860px;
    margin: 48px auto 56px;
    background: var(--navy);
    border-radius: var(--radius);
    overflow: hidden;
}

.pain-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.pain-stat:last-child {
    border-right: none;
}

.pain-stat-number {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.pain-stat-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pain-outside-text {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.pain-outside-lead {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.pain-outside-body {
    font-size: 18px;
    color: var(--navy);
    line-height: 1.7;
}

.pain-climax {
    max-width: 760px;
    margin: 48px auto 0;
    text-align: center;
    font-family: var(--font-head);
    font-size: 30px;
    font-style: italic;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.4;
}

.pain-climax strong {
    font-weight: 800;
    font-style: italic;
}

.pain-climax-sub {
    max-width: 680px;
    margin: 40px auto 48px;
    text-align: center;
    font-size: 17px;
    color: var(--gray-text);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pain-stats-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        border-right: none;
    }

    .pain-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .pain-stat-number {
        font-size: 38px;
    }

    .pain-climax {
        font-size: 24px;
    }
}

/* ============================================================
   SECTION 5: IMPERATIVO CATEGORICO
============================================================ */
.boston-imperative {
    position: relative;
    max-width: 860px;
    margin: 0 auto 48px;
    text-align: center;
    padding: 52px 56px;
    background: var(--white);
    border: 8px solid var(--gold);
    border-radius: 4px;
    overflow: hidden;
}

.boston-imperative::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 3px solid var(--blue);
    border-radius: 2px;
    pointer-events: none;
}

.boston-imperative-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.boston-imperative-sub {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #D32F2F;
}

.boston-sub {
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 20px;
    color: var(--navy);
    text-align: center;
    line-height: 1.65;
}

.boston-list {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
}

.boston-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 18px;
    color: var(--navy);
    line-height: 1.8;
    padding: 10px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.07);
}

.boston-list li:last-child {
    border-bottom: none;
}

.boston-warn {
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 3px;
    color: #D32F2F;
}

/* ============================================================
   SEZIONE CITAZIONI — bg antracite
============================================================ */
.cit-box {
    position: relative;
    padding: 40px;
    overflow: hidden;
    border-radius: 4px;
}

.cit-box--gold {
    border-left: 6px solid var(--gold);
}

.cit-box--blue {
    border-left: 6px solid var(--blue);
}

.cit-intro {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.cit-stats-row {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 500;
}

.cit-body {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.cit-bold {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cit-source {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* ============================================================
   SECTION 6: PRENDO IL CONTROLLO - CORREZIONE BOX
============================================================ */
.controllo-hero-h {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    margin-bottom: 28px;
}

.controllo-intro {
    max-width: 700px;
    margin: 0 auto 72px;
    text-align: center;
    font-size: 19px;
    color: var(--navy);
    line-height: 1.7;
}

.controllo-split {
    display: flex;
    align-items: stretch;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto 64px;
}

.controllo-box {
    flex: 0 0 60%;
    border: 4px solid var(--blue);
    background: rgba(0, 180, 216, 0.03);
    border-radius: 8px;
    padding: 50px 44px;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.1);
    transition: box-shadow 0.3s ease, border-width 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
}

.controllo-box:hover {
    box-shadow: 0 12px 36px rgba(0, 180, 216, 0.18);
    border-width: 5px;
}

.controllo-box-title {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 24px;
    line-height: 1.3;
}

.controllo-list {
    list-style: none;
}

.controllo-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    color: var(--navy);
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 180, 216, 0.12);
    line-height: 1.6;
}

.controllo-list li:last-child {
    border-bottom: none;
}

.controllo-bullet {
    color: var(--gold);
    font-weight: 900;
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.controllo-photo {
    flex: 0 0 calc(40% - 48px);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-height: 500px;
}

.controllo-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.controllo-climax {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    margin: 24px 0 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .boston-imperative-text {
        font-size: 26px;
    }

    .boston-imperative-sub {
        font-size: 18px;
    }

    .controllo-split {
        flex-direction: column;
    }

    .controllo-box {
        flex: 0 0 100%;
        padding: 40px 30px;
        min-height: auto;
    }

    .controllo-photo {
        flex: 0 0 100%;
        max-height: 400px;
        margin-top: 20px;
    }
    
    .controllo-photo img {
        object-fit: contain;
        max-height: 400px;
    }

    .controllo-hero-h {
        font-size: 30px;
    }

    .controllo-climax {
        font-size: 34px;
    }

    .cit-box {
        padding: 24px 20px;
    }
}

/* ============================================================
   CHEVRON DIVIDERS — transizioni tra sezioni con sfondi diversi
============================================================ */
.chevron-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.chevron-divider::before,
.chevron-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: calc(50% - 48px);
    transform: translateY(-50%);
}

.chevron-divider::before {
    left: 0;
}

.chevron-divider::after {
    right: 0;
}

.chevron-divider--light::before,
.chevron-divider--light::after {
    background: rgba(44, 62, 80, 0.15);
}

.chevron-divider--dark::before,
.chevron-divider--dark::after {
    background: rgba(255, 255, 255, 0.2);
}

.chevron-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
}

/* ============================================================
   SECTION 7: 1-2-3 REGIA UNICA - CORREZIONE CARD
============================================================ */
.regia-supertitle {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    text-align: center;
    margin-bottom: 16px;
}

.regia-h2 {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    line-height: 1.25;
    max-width: 720px;
    margin: 0 auto 72px;
}

.regia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    align-items: stretch;
}

.regia-connector {
    position: absolute;
    top: 40px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--gold) 0px,
            var(--gold) 8px,
            transparent 8px,
            transparent 16px);
    opacity: 0.6;
    pointer-events: none;
}

.regia-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    height: 100%;
}

.regia-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.regia-card--2 {
    transition-delay: 0.25s;
}

.regia-card--3 {
    transition-delay: 0.5s;
}

.regia-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.regia-num {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.regia-box {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.07);
    padding: 28px 28px 32px;
    width: 100%;
    height: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.regia-card-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 18px;
    line-height: 1.3;
    text-align: center;
}

.regia-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.regia-bullets li {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--navy);
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
}

.regia-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    top: 2px;
}

@media (max-width: 768px) {
    .regia-h2 {
        font-size: 26px;
        margin-bottom: 48px;
    }

    .regia-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .regia-connector {
        display: none;
    }

    .regia-card--2,
    .regia-card--3 {
        transition-delay: 0s;
    }
}

/* ============================================================
   SECTION 8: METODO 3 PILASTRI - CORREZIONI
============================================================ */
.metodo-h2 {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 16px;
}

.metodo-tagline {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
    color: var(--navy);
    text-align: center;
    margin-bottom: 20px;
}

.metodo-sub {
    font-size: 18px;
    color: #666;
    text-align: center;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 56px;
}

.metodo-layout {
    display: flex;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.metodo-logo-col {
    flex: 0 0 220px;
    padding-top: 40px;
}

.metodo-logo-sticky {
    position: sticky;
    top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.metodo-logo-img {
    width: 100px;
    height: auto;
    opacity: 0.85;
}

.metodo-pillars-col {
    flex: 1;
    border-left: 2px solid #E8EDF2;
}

.metodo-pillar {
    position: relative;
    padding: 48px 48px 48px 56px;
    border-bottom: 1px solid #E0E0E0;
}

.metodo-pillar--white {
    background: var(--white);
}

.metodo-pillar--gray {
    background: #F7F7F7;
}

.metodo-pillar:last-child {
    border-bottom: none;
}

.metodo-pillar:hover {
    box-shadow: inset 0 0 0 1px rgba(0, 180, 216, 0.12);
}

.metodo-pillar-connector {
    position: absolute;
    bottom: 0;
    left: 56px;
    right: 48px;
    height: 1px;
    background: repeating-linear-gradient(to right,
            var(--navy) 0px,
            var(--navy) 6px,
            transparent 6px,
            transparent 14px);
    opacity: 0.15;
}

.metodo-pillar-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.metodo-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 4px;
}

.metodo-icon:not([src]),
.metodo-icon[src=""] {
    background: #EEF0F2;
    border-radius: 8px;
}

.metodo-pillar-body {
    flex: 1;
}

.metodo-pillar-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.metodo-pillar-num {
    color: var(--blue);
}

.metodo-pillar-lead {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

.metodo-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metodo-bullets li {
    font-size: 16px;
    color: var(--navy);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.metodo-bullets li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.metodo-pillar-close {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin-top: 16px;
    font-style: italic;
}

.metodo-sintesi {
    text-align: center;
    padding: 72px 0 0;
    max-width: 800px;
    margin: 0 auto;
}

.metodo-sintesi-body {
    font-size: 26px;
    color: var(--navy);
    line-height: 1.75;
    margin-bottom: 48px;
}

.metodo-sintesi-body strong {
    color: var(--blue);
    font-weight: 700;
}

.metodo-sintesi-img-wrap {
    margin-bottom: 40px;
}

.metodo-sintesi-img {
    max-width: 70%;
    border-radius: 8px;
    display: block;
    margin: 0 auto 12px;
}

.metodo-sintesi-img-placeholder {
    max-width: 70%;
    margin: 0 auto 12px;
    background: #EEF0F2;
    border: 2px dashed #c8d4dd;
    border-radius: 8px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

.metodo-tagline-finale {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-top: 40px;
}

.metodo-logo-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 0 16px;
    border-bottom: 1px solid #E0E0E0;
}

.metodo-logo-mobile .metodo-logo-img {
    width: 100px;
}

@media (max-width: 768px) {
    .metodo-h2 {
        font-size: 28px;
    }

    .metodo-tagline {
        font-size: 18px;
    }

    .metodo-layout {
        flex-direction: column;
    }

    .metodo-logo-col {
        display: none;
    }

    .metodo-logo-mobile {
        display: flex;
    }

    .metodo-pillars-col {
        border-left: none;
        width: 100%;
    }

    .metodo-pillar {
        padding: 36px 24px;
    }

    .metodo-pillar-inner {
        flex-direction: column;
        gap: 20px;
    }

    .metodo-sintesi-img {
        max-width: 100%;
    }

    .metodo-sintesi-img-placeholder {
        max-width: 100%;
    }

    .metodo-tagline-finale {
        font-size: 22px;
    }
}

/* ============================================================
   SECTION 9: CHI SONO - CORREZIONE FOTO
============================================================ */
.chisono-layout {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-areas:
        ".     header"
        "photo bio";
    column-gap: 56px;
    row-gap: 28px;
    max-width: 1040px;
    margin: 0 auto;
}

.chisono-header {
    grid-area: header;
    align-self: end;
}

.chisono-photo-col {
    grid-area: photo;
}

.chisono-text-col {
    grid-area: bio;
}

.chisono-photo-frame {
    border: 4px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    margin-top: 20px;
}

.chisono-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 20%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
}

.chisono-photo-placeholder {
    background: rgba(255, 255, 255, 0.07);
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.chisono-h2 {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    text-align: left;
    margin-bottom: 20px;
}

.chisono-gold-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 16px;
}

.chisono-name {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin: 0 0 28px;
}

.chisono-bio {
    font-family: var(--font-body);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: left;
}

.chisono-hl {
    color: var(--gold);
    font-weight: 700;
}

.chisono-diff {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chisono-diff li {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.chisono-check {
    color: var(--gold);
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .chisono-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "photo"
            "bio";
        row-gap: 24px;
    }

    .chisono-h2 {
        font-size: 30px;
    }

    .chisono-bio {
        font-size: 16px;
    }
}

/* ============================================================
   SECTION 11: VERITÀ NEI NUMERI - CORREZIONI
============================================================ */
.numeri-h2 {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    line-height: 1.25;
    margin-bottom: 20px;
}

.numeri-gold-line {
    width: 120px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0 auto 48px;
}

.numeri-img-wrap {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    justify-content: center;
}

.numeri-img {
    max-width: 70%;
    width: auto;
    border-radius: 8px;
    border: 3px solid var(--blue);
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.12);
    margin: 0 auto;
}

.numeri-img-placeholder {
    max-width: 70%;
    margin: 0 auto;
    height: 300px;
    background: rgba(0, 180, 216, 0.04);
    border: 3px solid var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
}

.numeri-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto 56px;
}

.numeri-box {
    flex: 0 0 calc(33.333% - 14px);
    background: rgba(0, 180, 216, 0.04);
    border: 2px solid rgba(0, 180, 216, 0.35);
    border-radius: 8px;
    padding: 28px 24px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.numeri-box:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.15);
}

.numeri-box--featured {
    border: 2px solid var(--blue);
    background: rgba(0, 180, 216, 0.08);
}

.numeri-number {
    font-family: var(--font-head);
    font-size: 56px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.numeri-number--featured {
    font-size: 64px;
}

.numeri-text {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.numeri-source {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    font-style: italic;
    margin-top: auto;
}

.numeri-closing {
    font-size: 24px;
    color: var(--navy);
    text-align: center;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .numeri-box {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .numeri-h2 {
        font-size: 26px;
    }

    .numeri-box {
        flex: 0 0 100%;
    }

    .numeri-number {
        font-size: 42px;
    }

    .numeri-number--featured {
        font-size: 52px;
    }

    .numeri-closing {
        font-size: 17px;
    }
    
    .numeri-img {
        max-width: 100%;
    }
    
    .numeri-img-placeholder {
        max-width: 100%;
    }
}

/* ============================================================
   SECTION 12: QUALIFICAZIONE 9 SFIDE
============================================================ */
.qual-h1 {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

.qual-intro {
    font-size: 20px;
    color: var(--navy);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 40px;
}

.qual-box {
    background: var(--white);
    border: 2px solid var(--anthracite);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    margin-bottom: 32px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.qual-macro-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.qual-macro-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 4px;
}

.qual-macro-label {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
    color: var(--anthracite);
}

.qual-macro-desc {
    font-size: 15px;
    color: #666;
    margin: 0 0 10px;
}

.qual-macro-line {
    height: 3px;
    border-radius: 2px;
    width: 100%;
}

.qual-macro-line--tattico {
    background: var(--anthracite);
}

.qual-macro-line--sistemico {
    background: var(--blue);
}

.qual-macro-line--strategico {
    background: var(--gold);
}

.qual-accordion {
    border-top: 1px solid #EBEBEB;
}

.qual-acc-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    text-align: left;
}

.qual-acc-header:hover .qual-acc-title {
    color: var(--blue);
}

.qual-acc-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qual-acc-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.qual-acc-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    flex: 1;
    transition: color 0.2s;
}

.qual-acc-emoji {
    font-size: 16px;
    margin-left: 6px;
    opacity: 0.75;
}

.qual-acc-chevron {
    font-size: 22px;
    color: var(--blue);
    transition: transform 0.3s ease;
    line-height: 1;
}

.qual-acc-header[aria-expanded="true"] .qual-acc-chevron {
    transform: rotate(90deg);
}

.qual-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0 0 56px;
}

.qual-acc-body.open {
    max-height: 400px;
    padding: 0 0 24px 56px;
}

.qual-acc-copy {
    font-size: 17px;
    color: var(--anthracite);
    line-height: 1.7;
    margin-bottom: 20px;
}

.qual-cta {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 16px 35px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    background: var(--gold);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;
}

.qual-cta:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.qual-microcopy {
    font-size: 12px;
    color: #888;
    text-align: center;
    max-width: 400px;
    margin: 8px 0 0;
}

@media (max-width: 768px) {
    .qual-h1 {
        font-size: 30px;
    }

    .qual-macro-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .qual-acc-body.open {
        padding-left: 0;
    }

    .qual-acc-icon-wrap {
        display: none;
    }
}

/* ============================================================
   MODAL - CORREZIONE TESTO RIMOSSO
============================================================ */
.qual-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.qual-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.qual-modal-container {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 30px 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.qual-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.qual-modal-close:hover {
    color: var(--gold);
}

.qual-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.qual-modal-photo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    overflow: hidden;
    flex-shrink: 0;
}

.qual-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qual-modal-intro-text {
    font-size: 15px;
    color: var(--navy);
    font-weight: 600;
    margin: 0;
}

/* RIMOSSI qual-modal-h3 e qual-modal-body */

.qual-hubspot-wrap {
    min-height: auto;
    width: 100%;
    margin-top: 5px;
}

.qual-hubspot-wrap .hs-form-frame,
.qual-hubspot-wrap iframe,
.qual-hubspot-wrap form {
    width: 100% !important;
    max-width: 100% !important;
}

.qual-hubspot-wrap .hs-form {
    width: 100%;
    max-width: 100%;
}

.qual-hubspot-wrap .hs-form fieldset {
    max-width: 100% !important;
}

.qual-hubspot-wrap .hs-form .hs-form-field {
    width: 100% !important;
}

.qual-hubspot-wrap .hs-form input,
.qual-hubspot-wrap .hs-form textarea,
.qual-hubspot-wrap .hs-form select {
    width: 100% !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .qual-modal-container {
        padding: 20px 20px;
    }
    
    .qual-modal-header {
        margin-bottom: 15px;
    }
}

/* ============================================================
   EXIT INTENT
============================================================ */
.exit-intent {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(44, 62, 80, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-intent-box {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 420px;
}

.exit-intent-msg {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.exit-intent-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.exit-intent-btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.exit-intent-btn--outline {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: none;
}

.exit-intent-btn--gold {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.exit-intent-optout {
    margin-top: 20px;
    text-align: center;
}

.exit-intent-optout button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #aaa;
    text-decoration: underline;
    font-family: var(--font-body);
}

.exit-intent-optout button:hover {
    color: #666;
}

/* ============================================================
   SECTION 13: FAQ
============================================================ */
.faq-h2 {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    margin-bottom: 12px;
}

.faq-sub {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #E0E0E0;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
}

.faq-tab--active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

.faq-panel {
    display: none;
    max-width: 760px;
    margin: 0 auto;
}

.faq-panel--active {
    display: block;
}

.faq-item {
    border-bottom: 1px solid #EBEBEB;
}

.faq-item--featured {
    background: #E8F7FC;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 0 16px;
    border-bottom: none;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    gap: 16px;
}

.faq-item--featured .faq-q {
    font-weight: 700;
}

.faq-chevron {
    font-size: 20px;
    color: var(--blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-q[aria-expanded="true"] .faq-chevron {
    transform: rotate(90deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-a--open {
    max-height: 800px;
}

.faq-a p {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-bottom: 4px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #25D366;
    color: #fff;
    border: 2px solid #25D366;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.btn-whatsapp:hover {
    background: #fff;
    color: #25D366;
    border-color: #25D366;
}

.btn-outlined-navy {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.btn-outlined-navy:hover {
    background: var(--navy);
    color: var(--white);
}

.faq-bottom-cta {
    text-align: center;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #EBEBEB;
}

.faq-bottom-cta-text {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
}

.faq-bottom-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER - CORREZIONI COMPLETE
============================================================ */
#footer {
    background: var(--anthracite);
    padding: 64px 0 0;
    margin: 0;
}

.footer-logo {
    text-align: left;
    margin-bottom: 48px;
    padding-left: 0;
}

.footer-logo-img {
    width: 100px;
    height: auto;
    filter: none;
    opacity: 1;
    display: inline-block;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue) !important;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-icon:hover {
    background: var(--blue);
    color: var(--white) !important;
    transform: scale(1.1);
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

/* PREVENZIONE DOPPIO FOOTER */
footer:not(#footer) {
    display: none !important;
}

.csml-landing-template .site-footer,
.csml-landing-template .wp-block-template-part-footer,
.csml-landing-template footer:not(#footer) {
    display: none !important;
}

#footer {
    margin-bottom: 0;
}

body.csml-landing-template {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-logo {
        text-align: left;
    }
}

/* ============================================================
   STICKY CTA MOBILE
============================================================ */
.cta-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--gold);
    padding: 16px 20px;
    text-align: center;
    z-index: 998;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cta-sticky-mobile.visible {
    transform: translateY(0);
}

.btn-sticky {
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .cta-sticky-mobile {
        display: block;
    }
}

/* ============================================================
   BACK TO TOP
============================================================ */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.2s ease;
    font-size: 18px;
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    background: var(--gold);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 72px;
    }
}

/* ============================================================
   RESPONSIVE SERVIZI (aggiuntivo)
============================================================ */
@media (max-width: 1024px) {
    .servizi-grid {
        gap: 20px;
    }

    .servizi-card {
        padding: 36px 28px;
    }

    .section-h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .servizi-grid {
        grid-template-columns: 1fr;
    }

    .section-h2 {
        font-size: 28px;
    }
}

/* ============================================================
   PLACEHOLDER — SEZIONI FUTURE (non attive)
============================================================ */
.section-placeholder {
    padding: 80px 40px;
    background: #f0f4f7;
    border-top: 3px dashed #c8d4dd;
    text-align: center;
}

.section-placeholder h3 {
    font-family: var(--font-head);
    font-size: 20px;
    color: #6a8099;
    font-weight: 600;
}

.section-placeholder p {
    color: #8a9aaa;
    font-size: 14px;
    margin-top: 8px;
}

/* ============================================================
   ANIMAZIONI ARCHI SVG (non usati ma mantenuti)
============================================================ */
@keyframes arcRotate1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes arcRotate2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes arcRotate3 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================
   ACCESSIBILITÀ FOCUS STATES
============================================================ */
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* ============================================================
   RIMOZIONE SPAZI RESIDUI DEL TEMA PARENT
============================================================ */
.csml-landing-template .site-main,
.csml-landing-template .entry-content,
.csml-landing-template main,
.csml-landing-template #page,
.csml-landing-template .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ============================================================
   NASCONDI ELEMENTI RESIDUI DEL TITOLO DEL SITO (AGGIUNTO ORA)
============================================================ */
.wp-block-site-title,
.wp-block-site-title a,
h1.wp-block-site-title,
.site-title,
.site-title a {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* ============================================================
   FINE LANDING.CSS
============================================================ */