/* =================================================================== */
/* ===== TU MAPA IA | ITALIA - MASTER STYLESHEET ===== */
/* =================================================================== */

/* --- GLOBAL & SHARED 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 (SHARED) --- */
.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 SECTION (SHARED & HUB) --- */
.tumapa-hero { position: relative; overflow: hidden; text-align: center; }
.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 (SHARED) --- */
.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; }

/* --- FOOTER (SHARED) --- */
.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; }
.footer-international { margin-top: 25px; margin-bottom: 25px; text-align: center; }
.footer-international a { color: #CCCCCC; text-decoration: none; font-weight: 600; font-size: 1rem; transition: color 0.3s ease; }
.footer-international 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; }

/* =================================================================== */
/* ===== IDP PAGE SPECIFIC STYLES ===== */
/* =================================================================== */

/* --- IDP HERO BACKGROUND --- */
.tumapa-hero-idp {
    background-image: url('https://tumapaia.com/wp-content/uploads/2025/12/idp_hero_image.webp'); /* <-- THIS IS YOUR NEW, CORRECT IMAGE */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.tumapa-hero-idp::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Slightly darker for better text contrast */
    z-index: 1;
}

/* --- IDP HERO INTERACTIVE CALCULATOR --- */
.tumapa-hero-content .interactive-subtitle { font-size: 1.5rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); margin: -1rem auto 2.5rem; max-width: 700px; }
.roi-calculator-form { max-width: 600px; margin: 0 auto 2rem; background-color: rgba(14, 14, 16, 0.5); padding: 2rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; backdrop-filter: blur(5px); }
.roi-calculator-form fieldset { border: none; padding: 0; margin: 0; text-align: left; }
.roi-calculator-form legend { font-size: 1.1rem; font-weight: 600; color: #FFC107; margin-bottom: 1.5rem; width: 100%; text-align: center; }
.roi-calculator-form .radio-option { margin-bottom: 1rem; }
.roi-calculator-form input[type="radio"] { opacity: 0; position: fixed; width: 0; }
.roi-calculator-form label { display: inline-block; background-color: rgba(26, 26, 28, 0.8); padding: 1rem 1.5rem 1rem 3.5rem; border-radius: 8px; border: 1px solid #333; width: 100%; cursor: pointer; transition: all 0.2s ease-in-out; position: relative; box-sizing: border-box; }
.roi-calculator-form label:hover { background-color: #2a2a2c; border-color: #FFC107; }
.roi-calculator-form label::before { content: ''; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; border: 2px solid #888; transition: border-color 0.2s ease-in-out; }
.roi-calculator-form input[type="radio"]:checked + label { background-color: #1a1a1c; border-color: #FFC107; }
.roi-calculator-form input[type="radio"]:checked + label::before { border-color: #FFC107; }
.roi-calculator-form input[type="radio"]:checked + label::after { content: ''; position: absolute; left: 1.375rem; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background-color: #FFC107; }
.roi-calculator-form button[type="submit"] { margin-top: 1.5rem; }

/* --- IDP PAGE CONTENT SECTIONS --- */
.partner-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pillar-card { background-color: #121212; border: 1px solid rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: 12px; text-align: center; }
.pillar-card .icon { font-size: 2.5rem; color: #FFC107; margin-bottom: 1rem; }
.pillar-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #ffffff; }
.pillar-card p { font-size: 1rem; color: #e0e0e0; line-height: 1.6; }

.process-section { background-color: #000; }
.process-steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.process-step { text-align: center; }
.step-number { width: 50px; height: 50px; background-color: #FFC107; color: #0E0E10; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem auto; border: 4px solid #1a1a1c; }
.process-step h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* --- HIDDEN SECTION & SECONDARY CTA --- */
.hidden { display: none; }
.secondary-cta { margin-top: 1.5rem; font-size: 0.9rem; color: #94a3b8; }
.secondary-cta a { color: #ffffff; font-weight: 600; text-decoration: underline; transition: color 0.2s ease; }
.secondary-cta a:hover { color: #FFC107; }

/* =================================================================== */
/* ===== MOBILE ADJUSTMENTS (GLOBAL) ===== */
/* =================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .tumapa-hero-content { padding: 6rem 1rem; }
    
    /* Mobile nav fix */
    .tumapa-nav-logo a .tumapa-nav-title { display: none; }
    .tumapa-nav-links a { font-size: 0.9rem; white-space: nowrap; }
    
    /* IDP hero mobile fix */
    .tumapa-hero-content .interactive-subtitle { font-size: 1.2rem; }
    .roi-calculator-form { padding: 1.5rem; }
}