/* --- GLOBAL STYLES --- */
body {
    margin: 0;
    background-color: #0E0E10;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.tumapa-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
}
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; }
p { font-size: 1.1rem; line-height: 1.7; }

/* --- NAVIGATION BAR STYLES --- */
.tumapa-nav { background-color: #0E0E10; color: #ffffff; padding: 1rem 1.5rem; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tumapa-nav-container { display: flex; justify-content: space-between; align-items: center; }
.tumapa-nav-logo a { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.tumapa-nav-logo a img { height: 45px; width: auto; display: block; }
.tumapa-nav-logo a .tumapa-nav-title { font-size: 1.25rem; font-weight: 600; color: #FFFFFF; }
.tumapa-nav-links a { color: #ffffff; text-decoration: none; font-weight: 500; font-size: 1rem; transition: color 0.2s ease-in-out; }
.tumapa-nav-links a:hover { color: #FFC107; }

/* --- HERO VIDEO STYLES --- */
.tumapa-hero { position: relative; overflow: hidden; text-align: center; }
.tumapa-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1; }
.tumapa-hero-video { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); z-index: 0; }
.tumapa-hero-content { position: relative; z-index: 2; padding: 8rem 2rem; }
.tumapa-hero .philosophy { font-size: 1.25rem; max-width: 600px; margin: 1rem auto 2rem; color: rgba(255, 255, 255, 0.9); }
.tumapa-hero .trusted-badge { margin-top: 0.5rem !important; margin-bottom: 2rem !important; font-size: 0.95rem; color: #FFC107; font-weight: 500; } 


.tumapa-cta-button { display: inline-block; background-color: #FFC107; color: #0E0E10; font-weight: 700; text-decoration: none; padding: 0.8rem 2rem; border-radius: 50px; transition: transform 0.2s ease, background-color 0.2s ease; }
.tumapa-cta-button:hover { background-color: #ffffff; transform: scale(1.05); }

/* --- GENERIC SECTION STYLES --- */
.italian-section { padding: 5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.italian-section .section-title { margin-top: 0; margin-bottom: 1rem; }
.italian-section .section-subtitle { max-width: 800px; margin-left: auto; margin-right: auto; color: #e0e0e0; }

/* --- USE CASES SECTION STYLES (Mantenuto per IDP Landing) --- */
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 3rem auto 0; }
.use-case-card { text-align: center; }
.use-case-card .icon { font-size: 3rem; color: #FFC107; margin-bottom: 1rem; }
.use-case-card h4 { font-size: 1.25rem; color: #ffffff; margin-bottom: 0.5rem; }
.use-case-card p { font-size: 1rem; color: #e0e0e0; line-height: 1.6; }

/* --- PARTNER SECTION STYLES --- */
.partner-logo-container img { 
    max-height: 80px; 
    width: auto; 
    margin-top: 2rem; 
    opacity: 1; 
}
.partner-benefits { list-style-type: none; padding: 0; max-width: 800px; margin: 2rem auto 0; text-align: left; display: flex; flex-direction: column; gap: 1rem;}
.partner-benefits li { position: relative; padding-left: 1.5rem; }
.partner-benefits li:before {
    content: "\f00c"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #FFC107;
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.9rem;
}


/* --- FOOTER STYLES --- */
.site-footer-final { background-color: #000; color: #ffffff; padding: 3rem 1rem 2rem; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer-final h3 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.site-footer-final p { margin-top: 0.5rem; margin-bottom: 1.5rem; color: #94a3b8; }
.footer-socials a { color: #ffffff; font-size: 1.5rem; margin: 0 0.75rem; transition: color 0.2s ease-in-out; }
.footer-socials a:hover { color: #FFC107; }

.site-footer-final .footer-legal { font-size: 0.875rem; color: #94a3b8; border-top: 1px solid #334155; padding-top: 1.5rem; margin-top: 1.5rem; }
.site-footer-final .footer-legal p { margin: 0; padding-bottom: 0.5rem; }
.site-footer-final .footer-legal a { color: #94a3b8; text-decoration: none; transition: color 0.2s ease-in-out; }
.site-footer-final .footer-legal a:hover { color: #FFC107; }
.site-footer-final .footer-legal span { margin: 0 0.5rem; }

/* --- INTERACTIVE FORM STYLES (Mantenuto per IDP Landing) --- */
#scopri-ora { background-color: #000000; }
.interactive-form-container { max-width: 800px; margin: 0 auto; text-align: center; }
.poll-form { border: none; padding: 0; }
/* ... (altri stili form mantenuti) ... */
.hidden { display: none; }

/* --- STILI PER HUB DI NAVIGAZIONE (Mappe Settoriali) --- */

/* Griglia Mappe Settoriali 2x1 sopra */
.sector-map-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem auto 0; 
    max-width: 800px; 
    position: relative; 
    z-index: 10;
    justify-content: center;
}

.map-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* EFFETTO HOVER COERENTE PER TUTTE LE CARD SETTORIALI */
.map-card-link:hover {
    transform: translateY(-5px);
}
.map-card-link:hover .map-card {
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4); 
    border-color: #FFC107; 
    background-color: #1a1a1c; 
}
.map-card {
    background-color: #121212; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    text-align: center; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.map-card h4 {
    color: #FFC107; /* TITOLO SEMPRE GIALLO */
    margin-top: 0.5rem;
    font-weight: 700;
}
.map-card p {
    font-size: 1rem;
    color: #E0E0E0; 
    line-height: 1.6;
    margin: 0.5rem 0 0 0; 
}
.map-card .icon {
    font-size: 2.5rem;
    color: #FFC107;
    margin-bottom: 1rem;
}

/* Rimosse le classi specifiche per il Partner che è stato spostato */
.map-card.coming-soon {
    opacity: 1;
    filter: none;
    border-color: rgba(255, 255, 255, 0.1); 
    background-color: #121212;
}
.map-card.coming-soon h4 {
    color: #FFC107;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .tumapa-hero-content { padding: 6rem 1rem; }
    .sector-map-grid-simple {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-bottom: 0; 
    }
}

/* --- STYLING FOR THE NEW "SOLUTION SPOTLIGHT" SECTION --- */

.solution-spotlight {
    background-color: #121212; /* A slightly lighter background to differentiate it */
    border-top: 2px solid #FFC107; /* A strong top border in brand color to draw the eye */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.solution-spotlight .section-subtitle {
    margin-bottom: 2.5rem; /* Adds extra space before the CTA button */
}

/* --- STYLING FOR THE NEW "SOLUTION SPOTLIGHT" SECTION --- */
.solution-spotlight {
    background-color: #121212; /* A slightly lighter background to differentiate it */
    border-top: 2px solid #FFC107; /* A strong top border in brand color to draw the eye */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.solution-spotlight .section-subtitle {
    margin-bottom: 2.5rem; /* Adds extra space before the CTA button */
}

/* --- STYLING FOR THE NEW FOOTER INTERNATIONAL LINK --- */
.footer-international {
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
}

.footer-international a {
    color: #CCCCCC; /* Default light gray color */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-international a:hover {
    color: #FFC107; /* Brand yellow on hover */
}