.tools-hub {
    background: #f4efe8;
}

.tools-hub-hero {
    padding: 86px 0 48px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 190, 19, 0.22), transparent 34%),
        linear-gradient(135deg, #121212 0%, #4b120f 52%, #8e1f15 100%);
}

.tools-hub-hero-inner {
    max-width: 920px;
}

.tools-hub-eyebrow,
.tools-group-eyebrow {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tools-hub-eyebrow {
    color: var(--yellow);
}

.tools-hub-hero h1,
.tools-group-head h2 {
    margin: 0;
    line-height: 1.04;
}

.tools-hub-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.tools-hub-lead,
.tools-group-head p,
.tool-card p {
    font-size: clamp(1rem, 1.08vw, 1.08rem);
    line-height: 1.72;
}

.tools-hub-lead {
    max-width: 840px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.tools-hub-sections {
    padding: 40px 0 88px;
}

.tools-group + .tools-group {
    margin-top: 52px;
}

.tools-group-head {
    max-width: 820px;
    margin-bottom: 24px;
}

.tools-group-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.tools-group-head p {
    margin: 14px 0 0;
    color: rgba(17, 24, 39, 0.78);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 24px;
    border: 1px solid rgba(189, 163, 137, 0.34);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 237, 0.98));
    box-shadow: 0 18px 34px rgba(62, 31, 22, 0.08);
}

.tool-card-top {
    display: grid;
    gap: 12px;
}

.tool-card h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
    color: #131313;
}

.tool-card p {
    margin: 0;
    color: rgba(23, 23, 23, 0.78);
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: #171717;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-card-bottom {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    justify-items: center;
}

.tool-card .btn {
    width: fit-content;
    text-align: center;
}

@media (max-width: 1100px) {
    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {
    .tools-hub-hero {
        padding: 72px 0 34px;
    }

    .tools-hub-sections {
        padding: 28px 0 72px;
    }

    .tools-group + .tools-group {
        margin-top: 42px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        min-height: 0;
        border-radius: 22px;
        padding: 20px;
    }

    .tool-card .btn {
        width: 100%;
        justify-content: center;
    }
}
