/* Print styles for KPI99 key pages (case studies, PPI-F, policy pages) */
@media print {
    /* Reset non-essential screen styles */
    body {
        background: #fff;
        color: #111;
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Hide nav, footer CTAs, cookie banner, chat, floating buttons */
    nav,
    .whatsapp-float,
    .calendly-overlay,
    #cookie-consent-banner,
    .skip-link,
    .sticky-cta,
    .sticky-cta-consultation,
    #exit-offer-bar,
    button[aria-label="Toggle menu"],
    .mobile-menu-toggle {
        display: none !important;
    }

    /* Ensure main content is visible and not cut off */
    main {
        padding-top: 0 !important;
    }

    /* Links: show URL and avoid breaking across pages */
    a[href]::after {
        content: none;
    }
    a[href^="http"]:not([href*="kpi99"])::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555;
    }

    /* Headings and sections */
    h1, h2, h3 {
        page-break-after: avoid;
        color: #000;
    }
    section {
        page-break-inside: avoid;
    }

    /* Case study cards: stack and avoid breaks inside */
    .case-study-card,
    .faq-item,
    .insight-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        padding: 12pt;
        margin-bottom: 12pt;
    }

    /* Footer: simple text */
    footer {
        border-top: 1px solid #ccc;
        padding: 12pt 0 !important;
        margin-top: 24pt;
    }
    footer p {
        font-size: 10pt;
        color: #555;
    }

    /* PPI-F / framework: keep structure readable */
    .framework-components,
    .intro-text {
        page-break-inside: avoid;
    }

    /* Remove shadows and heavy backgrounds for cleaner print */
    .contact-form-container,
    .solution-card,
    .service-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
