.cta-link {
    color: #111111;
    text-decoration: underline;
    text-decoration-color: rgba(229, 9, 20, 0.4);
    text-underline-offset: 4px;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 2px 10px;
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    background: transparent;
    display: inline-block;
    margin: 0 2px;
}
.cta-link:hover, .cta-link:focus {
    color: #e50914;
    background: rgba(229,9,20,0.07);
    text-decoration-color: #e50914;
    box-shadow: 0 2px 8px rgba(229,9,20,0.08);
}
body.dark-theme .cta-link {
    color: #fff;
    background: transparent;
}
body.dark-theme .cta-link:hover, body.dark-theme .cta-link:focus {
    color: #e50914;
    background: rgba(229,9,20,0.13);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* ====== */
/* ========= LO STYLE PC ========= */
/* ====== */
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #ffffff; 
    color: #333; 
}
header {
    background-color: #2b2b2b;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #e50914;
}
.nav-grid {
    display: flex; 
    align-items: center;
    padding: 0 5%;
    height: 90px;
    position: relative;
}

.nav-left { 
    order: 1; 
    display: flex; 
    align-items: center; 
}

.nav-right { 
    order: 2; 
    display: flex; 
    align-items: center;
    margin-left: 40px; 
    position: absolute;
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
}
.nav-center { 
    order: 3; 
    display: flex; 
    margin-left: auto; 
}
.logo-img { max-height: 50px; width: auto; }
.nav-back-btn { color: #ffffff; font-size: 1.5rem; transition: all 0.3s ease; }
.nav-back-btn:hover { color: #e50914; transform: translateX(-5px); }
.nav-links-stack {
    display: flex;
    flex-direction: row; 
    gap: 30px; 
    align-items: center;
}
.stack-link {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}
.stack-link i {
    font-size: 0.9rem;
    color: #e50914;
    transition: 0.3s;
}
.stack-link:hover {
    color: #e50914;
    transform: translateY(-3px);
}
.stack-link:hover i {
    transform: scale(1.2);
}
.floating-tools-pc {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px; 
    z-index: 9999;
}
.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}
.float-audio {
    background-color: #2b2b2b;
    border: 2px solid #e50914; 
}
.float-whatsapp {
    background-color: #25D366; 
}
.float-btn:hover {
    transform: scale(1.1) translateY(-5px); 
}
.float-audio:hover { background-color: #e50914; }
.float-whatsapp:hover { background-color: #1ebe5d; }
/* ==== */
/* ===== TOOLTIP DEFINIZIONI (TENDINA) ===== */
/* ==== */
.tooltip-term:hover { color: #e50914; }
.tooltip-term::after {
    content: attr(data-tooltip); 
    position: absolute;
    bottom: 100%;
    left: 0; 
    transform: translateY(0px); 
    width: 280px; 
    max-width: 85vw; 
    background-color: #1a1a1a; 
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e50914; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
    z-index: 100;
    white-space: normal;
    text-align: left;
    pointer-events: none; 
}
.tooltip-term::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px; 
    border-width: 8px;
    border-style: solid;
    border-color: #e50914 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}
.tooltip-term:hover::after,
.tooltip-term:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}
.tooltip-term:hover::before,
.tooltip-term:focus::before {
    opacity: 1;
    visibility: visible;
}
body.dark-theme .tooltip-term { color: #ffffff; }
body.dark-theme .tooltip-term:hover { color: #e50914; }

/* === */
/* === LO STYLE MOBILE === */
/* === */
@media (max-width: 900px) {
    .btn-pc-only {
        display: none !important;
    }
    .floating-tools-pc {
        display: none !important;
    }
    .nav-grid { 
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        height: 80px; 
        padding: 0 15px; 
    }
    .nav-left { order: 1; }
    .nav-center { order: 2; margin-left: 0; }
    .nav-right { 
        order: 3; 
        margin-left: 0; 
        justify-content: flex-end; 
        position: static; 
        transform: none; 
        left: auto;
    }
    .logo-img { 
        max-width: 85px; 
    }
    .nav-links-stack {
        flex-direction: column; 
        gap: 6px; 
        align-items: flex-end; 
    }
    .stack-link { 
        font-size: 0.65rem; 
        padding: 2px 0;
    }  
    .stack-link i { 
        font-size: 0.75rem; 
    }
    .stack-link:hover {
        transform: translateX(-5px); 
    }
}
/* === FAQ ACCORDION (DOMANDE) === */
.faq-section details {
    background-color: #f9f9f9;
    border-left: 3px solid #e50914;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.faq-section details[open] {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eeeeee;
    border-left: 3px solid #e50914;
}
.faq-section summary {
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.faq-section summary::-webkit-details-marker {
    display: none; 
}
.faq-section summary::after { content: '\f067'; 
    font-family: 'Font Awesome 5 Free'; font-weight: 900; color: #e50914; transition: transform 0.3s ease;
}
.faq-section details[open] summary::after { content: '\f068'; 
    transform: rotate(180deg);
}
.faq-section p { padding: 0 20px 20px 20px; margin: 0; color: #444444; line-height: 1.6;
}
.faq-section .faq-link {
    color: #111111; 
    text-decoration: underline;
    text-decoration-color: rgba(229, 9, 20, 0.4); 
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.faq-section .faq-link:hover { color: #e50914; 
    text-decoration-color: #e50914;
}
body.dark-theme .faq-section .faq-link { color: #ffffff;
}
body.dark-theme .faq-section .faq-link:hover { color: #e50914;
}
body.dark-theme .faq-section details { background-color: #222; border-color: #333; }
body.dark-theme .faq-section details[open] { background-color: #1a1a1a; }
body.dark-theme .faq-section summary { color: #ffffff; }
body.dark-theme .faq-section p { color: #cccccc; }
/* === */
/* === MODALE "PROBLEM SOLVING" === */
/* === */
.modale-invisibile {
    display: none; 
}
.modale-attivo {
    display: flex !important; 
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); 
    z-index: 10002;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.modale-contenuto {
    background-color: #ffffff; 
    border: 3px solid #000000; 
    width: 90%;
    max-width: 450px;
    padding: 20px;
    border-radius: 0; 
    overflow-y: auto; 
    max-height: 85vh;
    position: relative;
}
.modale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}
.logo-modale { width: 140px; height: auto; }
.btn-chiudi {
    background: none; border: none;
    font-size: 2rem; color: #000;
    cursor: pointer; transition: transform 0.3s, color 0.3s;
}
.btn-chiudi:hover { transform: rotate(90deg); color: #e50914; }
.modale-box {
    border: 2px solid #eeeeee;
    padding: 20px; margin-bottom: 20px;
    background: #fafafa;
}
.modale-box h4 {
    font-size: 0.9rem; letter-spacing: 1.5px;
    margin-bottom: 20px; color: #000;
    display: inline-block;
    border-bottom: 2px solid #e50914; padding-bottom: 5px;
}
.zoom-wrapper { text-align: center; margin-bottom: 20px; }
.zoom-controls {
    display: flex; justify-content: center; align-items: center; gap: 15px;
}
.zoom-controls button {
    width: 40px; height: 40px;
    background: #2b2b2b; color: white; border: 2px solid #e50914;
    border-radius: 50%; font-size: 1.2rem; font-weight: bold; cursor: pointer;
}
.zoom-controls span { font-weight: 900; font-size: 1.2rem; color: #2b2b2b; min-width: 60px; }
.btn-toggle-notte {
    width: 100%; padding: 12px;
    background: #2b2b2b; color: white; border: 2px solid #e50914;
    font-weight: bold; text-transform: uppercase; cursor: pointer;
}
.lista-link-modale { list-style: none; padding: 0; margin: 20px 0;
}
.lista-link-modale li a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    display: block;
    transition: opacity 0.2s;
}
.lista-link-modale li a:hover { opacity: 0.7; 
}
.label-modale {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    color: #000;
}
body.dark-theme .label-modale { color: #ffffff;
}
body.dark-theme .lista-link-modale li a { color: #ffffff;
}
.lista-link-modale li a::before {
    content: '• ';
    margin-right: 8px;
    color: #e50914;
    font-weight: bold;
}
/* === */
/* === TEMA SCURO (DARK MODE) === */
/* === */
body.dark-theme { background-color: #121212; color: #e0e0e0; }
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3 { color: #ffffff; }
body.dark-theme .modale-contenuto { background-color: #1a1a1a;
    border-color: #e50914;
}
body.dark-theme .modale-header { border-bottom-color: #444; }
body.dark-theme .modale-box { background: #222; border-color: #444; }
body.dark-theme .modale-box h4, body.dark-theme .btn-chiudi { color: #ffffff; }
body.dark-theme .zoom-controls span { color: #ffffff; }
body.dark-theme .zoom-controls button { background: #000; }
body.dark-theme .wall-of-fame { background: #111111 !important;
    color: #ffffff !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
body.dark-theme .wall-of-fame h2, 
body.dark-theme .wall-of-fame h4 { color: #e50914 !important; 
}
body.dark-theme .wall-of-fame .fame-names span { color: #ffffff !important;
}
body.dark-theme .fame-dot { color: #e50914; 
}
body.dark-theme .fame-footer { color: #aaaaaa !important; border-top-color: #333333;
}
.dock-bar-mobile { display: none; 
}
@media (max-width: 900px) {
    .dock-bar-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        border-top: 2px solid #e50914;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        z-index: 10000;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
    }
    .dock-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #ffffff;
        text-decoration: none;
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        gap: 5px;
    }
    .dock-btn span {
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
    }
}
/* === */
/* === STRISCIA NEWS SCORREVOLE MOBILE === */
/* === */
.ticker-news-mobile {
    display: none !important;
}
@media (max-width: 900px) {
    .ticker-news-mobile {
        display: block !important; 
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #e50914; 
        color: #ffffff;
        padding: 4px 0;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        overflow: hidden;
        white-space: nowrap;
        z-index: 10001; 
        border-top: 1px solid #ff3333;
    }
    .ticker-text {
        display: inline-block;
        padding-left: 100%;
        animation: scorrimento-ticker 40s linear infinite;
    }
    .dock-bar-mobile {
        bottom: 25px !important; 
    }
}
@keyframes scorrimento-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
/* === */
/* === ARCHITETTURA A BOX CONTENUTI === */
/* === */
.container-servizi {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 15px;
}
.content-box {
    background-color: #ffffff;
    border: 2px solid #e50914; 
    padding: 30px;
    margin-bottom: 40px; 
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-box:hover { transform: translateY(-5px);  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.content-box h1, .content-box h2, .content-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #000;
}
.content-box h3 { margin-top: 30px; color: #e50914; font-size: 1.1rem; text-transform: uppercase; font-weight: 700; border-bottom: none; padding-bottom: 0;
}
.content-box h3 i { margin-right: 10px;
}
.box-icons { display: flex; gap: 15px; margin-bottom: 15px; color: #e50914; font-size: 1.5rem;
}
.lista-tattica { list-style-type: none; padding-left: 0; line-height: 1.8; margin-top: 20px;
}
.lista-tattica li {
    margin-bottom: 8px; 
}
.lista-tattica li i { color: #e50914; margin-right: 10px;
}
.grid-flotta { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px;
}
.nota-flotta { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
body.dark-theme .nota-flotta { border-top-color: #333; }
body.dark-theme .content-box { background-color: #1a1a1a; border: 2px solid #e50914;  box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
body.dark-theme .content-box h1, 
body.dark-theme .content-box h2 { color: #ffffff; border-bottom-color: #333;
}
.intro-servizio { text-align: center; margin-bottom: 50px;
}
.intro-servizio h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: none !important;
}
.intro-servizio p {
    max-width: 850px; 
    margin: 0 auto 15px auto; 
    line-height: 1.8;
}
body.dark-theme .content-box h3 {
    color: #ff3333; 
    border-bottom: none;
}
.info-banner-rossa {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #e50914;
    border-radius: 4px;
}
.info-banner-rossa p {
    margin: 0;
    font-weight: bold;
    color: #333;
}
.info-banner-rossa span {
    color: #e50914;
}
body.dark-theme .info-banner-rossa {
    background-color: #222;
    border-left-color: #ff3333;
}
body.dark-theme .info-banner-rossa p {
    color: #ffffff;
}
/* === */
/* === TOOLTIP DEFINIZIONI (TENDINA) === */
/* === */
.tooltip-term {
    position: relative;
    cursor: help; 
    border-bottom: 1px dashed #e50914; 
    font-weight: 400;
    transition: all 0.3s ease;
}
.tooltip-term:hover { color: #e50914; }
.tooltip-term::after { content: attr(data-tooltip);  position: absolute; bottom: 100%; left: 0;  transform: translateY(0px);  width: 280px;  max-width: 85vw;  background-color: #1a1a1a;  color: #ffffff; font-size: 0.8rem; font-weight: 400; line-height: 1.5; padding: 12px 15px; border-radius: 8px; border: 1px solid #e50914;  box-shadow: 0 10px 25px rgba(0,0,0,0.5);  opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 100; white-space: normal; text-align: left; pointer-events: none; 
}
.tooltip-term:hover::after,
.tooltip-term.tooltip-aperto::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px); 
}
.tooltip-term:hover::before,
.tooltip-term.tooltip-aperto::before {
    opacity: 1;
    visibility: visible;
}
body.dark-theme .tooltip-term { color: #ffffff; }
body.dark-theme .tooltip-term:hover { color: #e50914; }
/* === */
/* === ADATTAMENTO TOOLTIP MOBILE === */
/* === */
@media screen and (max-width: 768px) {
    .tooltip-term::after {
        position: absolute;
        bottom: 150%;
        top: auto; 
        left: -15px;
        width: 260px;
        max-width: 85vw;
        transform: translateY(10px); 
        z-index: 10005;
    }
    .tooltip-term::before {
        display: block;
        bottom: 100%;
        top: auto;
        left: 20px;
        border-color: #e50914 transparent transparent transparent; 
    }
    .tooltip-term:hover::after,
    .tooltip-term:focus::after {
        opacity: 0; 
        visibility: hidden;
    }
    .tooltip-term:hover::before,
    .tooltip-term:focus::before {
        opacity: 0; 
        visibility: hidden;
    }
    .tooltip-term.tooltip-aperto::after {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important; 
    }
    .tooltip-term.tooltip-aperto::before {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .content-box:hover {
        transform: none;
    }
}
/* === */
/* == WALL OF FAME (BIG & FESTIVAL) == */
/* === */
.wall-of-fame { text-align: center; padding: 40px 20px; margin-top: 40px; margin-bottom: 50px; background: linear-gradient(135deg, #ffffff, #f4f4f4); /* Sfondo perla luminoso */ color: #111111; /* Testo scuro */ border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); /* Ombra morbida diurna */ transition: background 0.3s ease, color 0.3s ease; /* Effetto transizione fluido */
}
.wall-of-fame h2 { color: #000000; text-transform: uppercase; letter-spacing: 2px; margin-top: 0; margin-bottom: -70px; border: none; 
}
.wall-of-fame p.subtitle { color: #555555; font-size: 1rem; margin-bottom: 35px;
}
.fame-category { margin-bottom: 35px; }
.fame-category h3 { color: #000000;  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; font-size: 1.1rem;
}
.fame-names { font-size: 1.2rem; font-weight: 700; line-height: 1.8; color: #333333;}
.fame-names span { display: inline-block; transition: color 0.3s ease, text-shadow 0.3s ease;}
#certificazioni { text-align: center; padding: 60px 20px;
    background-color: #ffffff;
    position: relative; z-index: 10;
}
#certificazioni h2 {
    font-size: 1.3rem;
    margin-bottom: 15px; 
    text-transform: uppercase;
    color: #000000 !important; 
    border: none;
}
.cert-fusion-box { display: inline-flex; align-items: center; justify-content: center;
    gap: 0px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); padding: 10px 20px; background: transparent;}
.cert-fusion-box:hover { transform: scale(1.08) translateY(-5px); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2)); cursor: pointer; }
.cert-fusion-box img { height: 90px; width: auto; display: block; margin: 0; transition: none;
}
@media (max-width: 768px) { #certificazioni { padding: 40px 15px; } .cert-fusion-box {  display: flex !important; flex-direction: column !important;
        gap: 25px !important; } .cert-fusion-box img { height: 65px !important; 
        max-width: 90%; }
}
footer { background-color: #ffffff;  color: #1a1a1a; padding: 60px 0 30px 0; font-family: 'Montserrat', sans-serif; border-top: 3px solid #e50914;  position: relative; z-index: 20; transition: background-color 0.3s ease, color 0.3s ease; }
.footer-inner { width: 95%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.highlight-item { background: rgba(0, 0, 0, 0.03); padding: 20px; border-radius: 8px; border-left: 2px solid transparent; transition: all 0.3s ease;}
.highlight-item:hover {
    background: rgba(0, 0, 0, 0.06);
    border-left: 2px solid #e50914;
    transform: translateY(-5px);
}
.highlight-item i { font-size: 1.5rem; color: #e50914; margin-bottom: 15px; display: block; filter: drop-shadow(0 0 5px rgba(229, 9, 20, 0.4));}
.highlight-text h4 { font-size: 0.85rem; font-weight: 900; letter-spacing: 1px; margin-bottom: 10px; text-transform: uppercase; color: inherit;}
.highlight-text p { font-size: 0.75rem; color: #555555; line-height: 1.5; margin-bottom: 8px; }
body.dark-theme footer { background-color: #1a1a1a !important; color: #ffffff !important;}
body.dark-theme .highlight-item { background: rgba(255, 255, 255, 0.03) !important;}
body.dark-theme .highlight-item:hover { background: rgba(255, 255, 255, 0.07) !important;}
body.dark-theme .highlight-text p { color: #b0b0b0 !important;}
.highlight-text a { color: #e50914 !important; text-decoration: none !important; font-weight: 700; transition: color 0.3s ease; display: inline-block;
}
.highlight-text a:hover { color: #1a1a1a !important;
    text-shadow: none !important;
    transform: none !important;
}
body.dark-theme .highlight-text a { color: #ffffff !important; }
body.dark-theme .highlight-text a:hover {color: #e50914 !important; }
.footer-bottom-info { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;}
body.dark-theme .footer-bottom-info {border-top-color: rgba(255,255,255,0.1) !important;}
.footer-links a { color: #888; text-decoration: none; font-size: 0.8rem; margin-right: 20px; font-weight: 600; }
.footer-links a:hover { color: #e50914; }
.footer-copy { font-size: 0.8rem; color: #666; margin: 0; }
.footer-copy a { color: #888; text-decoration: none; font-weight: 700; }
.footer-copy a:hover {color: #e50914; }                /* Effetto rosso al passaggio del mouse */
/* Adattamento Mobile */
@media (max-width: 992px) { .footer-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .footer-highlights { grid-template-columns: 1fr; }
    .footer-bottom-info { justify-content: center; text-align: center; }
    footer { padding-bottom: 110px; } 
}
/* --- DATI SOCIETARI FOOTER --- */
/* --- FOOTER CHIUSURA COMPATTA --- */
.footer-bottom-compatto {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Una riga sottilissima che separa dai box sopra */
}
.footer-bottom-compatto p {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.8; /* Salva l'impaginazione sui cellulari */
    margin-bottom: 8px;
}
.footer-bottom-compatto a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom-compatto a:hover {
    color: #e50914 !important; /* Il rosso Movie Group ora vincerà su tutto */
}
.footer-bottom-compatto .separatore {
    margin: 0 8px;
    opacity: 0.5;
}
body.dark-theme .footer-bottom-compatto p,
body.dark-theme .footer-bottom-compatto a {
    color: #888888;
}
/* =============================================== */
/* =========== NUOVE CLASSI TATTICHE PAGINA ====== */
/* 1. IL CASE HISTORY (Ora visibile di giorno e tattico di notte) */
.case-history-box {
    background-color: #f0f0f0 !important; /* Un grigio chiaro deciso che si vede di giorno */
    border-left: 5px solid #e50914 !important; /* Bordo rosso Movie Group */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Ombra leggera */
}
/* Stili specifici per i titoli dentro il Case History di giorno */
.case-history-box h2 {
    font-size: 1.2rem !important;
    color: #e50914 !important; /* Rosso brand */
    margin-bottom: 10px !important;
    border: none !important;
}
.case-history-box h3 {
    margin-top: 0 !important;
    color: #000000 !important; /* Nero puro di giorno */
    font-size: 1.5rem !important;
    border: none !important;
}
/* ADATTAMENTO DARK MODE PER CASE HISTORY (Tattico al buio) */
body.dark-theme .case-history-box {
    background-color: #1a1a1a !important; /* Grigio scurissimo per il buio */
    border-left-color: #ff3333 !important; /* Rosso acceso */
}
body.dark-theme .case-history-box h3 {
    color: #ffffff !important; /* Bianco puro di notte */
}
/* ----------------------------------------------- */

/* ----------------------------------------------- */
/* 2. IL TASTONE PREVENTIVO (MINA ATOMICA ROSSA FISSA) */
.quote-cta-block {
    text-align: center;
    margin: 40px 0;
    padding: 40px 30px;
    background-color: #e50914 !important; /* ROSSO FUOCO FISSO sempre e comunque */
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(229,9,20,0.3); /* Alone rosso permanente */
    transition: all 0.3s ease;
}
.quote-cta-block h3 {
    color: #ffffff !important; /* Testo bianco sempre */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 900;
}
.quote-cta-block p {
    color: #ffffff !important; /* Testo bianco puro per il massimo contrasto */
    margin-bottom: 30px;
    font-size: 1rem;
}
/* Il Tasto WhatsApp a contrasto (Bianco con scritta rossa) */
.quote-cta-block .whatsapp-btn {
    background-color: #ffffff !important;
    color: #e50914 !important;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}
/* Hover del bottone (Diventa nero puro e si solleva) */
.quote-cta-block .whatsapp-btn:hover {
    background-color: #000000 !important; 
    color: #ffffff !important; 
    transform: translateY(-3px) scale(1.03);
}
/* --- OTTIMIZZAZIONE UX MOBILE PER TASTONE CENTRALE --- */
@media (max-width: 900px) {
    .quote-cta-block {
        display: none !important; /* Spegne il mega-box sui telefoni per non affollare lo schermo */
    }
}
/* PATCH SPECIFICA: Risoluzione overflow box su mobile */
@media (max-width: 900px) {
    .content-box {
        padding: 10px !important;
        margin-bottom: 25px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .container-servizi {
        padding: 0 5px !important;
        max-width: 100vw;
        overflow-x: hidden;
    }
}
/* =========================================
   BANNER STATISTICHE (POTENZA OPERATIVA & SEO)
   ========================================= */
.stats-banner-section {
    margin: 40px 0;
    width: 100%;
}
/* Classe vitale per la SEO: nasconde il titolo all'occhio umano ma lo urla a Google */
.titolo-nascosto-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.stats-banner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: #2b2b2b;
    padding: 30px 20px;
    border-left: 4px solid #e50914;
    text-align: center;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.stat-item {
    margin: 15px;
    flex: 1;
    min-width: 200px;
}
.stat-item i {
    font-size: 2.6em;
    color: #e50914;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.4)); /* Effetto glow sul rosso */
}
.stat-item h3 {
    color: #ffffff;
    margin: 0;
    font-size: 2.5em;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}
.stat-item h4 {
    color: #cccccc;
    margin: 5px 0 0 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
/* TITOLO VISIBILE STATISTICHE */
.intro-numeri-wrapper {
    text-align: center; 
    margin-bottom: 25px; 
    padding: 0 15px;
}
.intro-numeri-titolo {
    font-size: 1em; 
    font-weight: 700; 
    color: #ffffff; 
    line-height: 1.4;
}
/* =========================================
   COOKIE BANNER MINIMALISTA (GLASSMORPHISM)
   ========================================= */
.cookie-banner-minimal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.80); /* Sfondo scuro semitrasparente d'élite */
    backdrop-filter: blur(10px); /* L'effetto vetro che lo fonde con lo sfondo */
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px; /* Forma a pillola aerodinamica */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 90%;
    width: max-content;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Bordino di luce sottilissimo */
}

.cookie-banner-minimal p {
    font-size: 0.75rem; /* Testo piccolo e discreto */
    margin: 0;
    color: #cccccc;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

.cookie-banner-minimal p a {
    color: #e50914;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.cookie-banner-minimal p a:hover {
    color: #ffffff;
}

.cookie-banner-minimal .cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-banner-minimal button {
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

/* Bottone Accetta - Evidente ma piccolo */
.cookie-banner-minimal .btn-accetta {
    background: #e50914;
    color: #ffffff;
}

.cookie-banner-minimal .btn-accetta:hover {
    background: #b80710;
    transform: translateY(-2px);
}

/* Bottone Rifiuta - Il vero trucco per renderlo "invisibile" */
.cookie-banner-minimal .btn-rifiuta {
    background: transparent;
    color: #888888;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-banner-minimal .btn-rifiuta:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* --- Adattamento Mobile --- */
@media (max-width: 768px) {
    .cookie-banner-minimal {
        flex-direction: column;
        border-radius: 16px; /* Su mobile diventa un quadratino morbido in basso */
        bottom: 110px;
        padding: 15px;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-minimal .cookie-buttons {
        width: 100%;
    }
    
    .cookie-banner-minimal button {
        flex: 1; /* I bottoni prendono metà spazio ciascuno */
        padding: 10px;
    }
}