/* FM Pro "Why FM Pro" page.
   Loaded AFTER css/style.css, so it reuses its variables:
   --bg, --card, --text, --primary (light and dark mode). */

/* HERO */
.why-hero {
    padding: 80px 0 30px;
    text-align: center;
}

.why-title {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--text);
}

.why-lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary);
}

/* SECTIONS */
.why-section {
    padding: 30px 0;
}

.why-band {
    background: var(--card);
    padding: 60px 0;
    margin: 30px 0;
}

/* CARDS (same look as .contact-card / .capability-item) */
.why-card {
    background: var(--card);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

/* Cards sitting on the --card band use the page background instead */
.why-card-inset {
    background: var(--bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.why-card h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: var(--text);
}

.why-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text);
    opacity: 0.85;
}

.why-card p:last-child {
    margin-bottom: 0;
}

/* Closing statement */
.why-card p.why-closing {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
    font-weight: 600;
    opacity: 1;
}

.why-cta {
    margin-top: 30px;
    text-align: center;
}

/* Scroll reveal (only active when JS has added .js to <html>) */
.js .why-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .why-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
    .why-hero {
        padding: 50px 0 20px;
    }

    .why-title {
        font-size: 32px;
    }

    .why-lead {
        font-size: 18px;
    }

    .why-card {
        padding: 28px 22px;
    }

    .why-card h2 {
        font-size: 28px;
    }

    .why-card p {
        font-size: 16px;
    }

    .why-band {
        padding: 40px 0;
    }
}