/* ===============================
CALCULATORS PAGE ALIGNMENT FIX
(matches index/about/services)
=============================== */

.tools-hero {
    padding: 70px 0 40px;
    /* spacing moved inside */
    background: #f8fafc;
    text-align: center;
    margin-top: 0;
    /* remove gap */
}

.tools-hero h1 {
    font-size: clamp(40px, 5vw, 58px);
    margin-bottom: 10px;
}

.tools-hero p {
    max-width: 680px;
    margin: auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.tool-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .05);
    transition: .25s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .08);
}

.tool-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.tool-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 15px;
    margin-bottom: 16px;
}

.tool-link {
    display: inline-block;
    background: #10c69a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

/* MOBILE */
@media(max-width:768px) {

    .tools-hero {
        padding: 80px 0 40px;
        margin-top: 0;
    }

    .tools-hero h1 {
        font-size: 36px;
    }

}

.calc-cta {
    padding: 52px 16px 0;
    margin-top: -40px;
    margin-bottom: 40px;
}

.menu a.active {
    color: #10c69a;
    font-weight: 600;
    position: relative;
}

.menu a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #10c69a;
    border-radius: 2px;
}