﻿.tsh-404 {
    padding: 4rem 1rem 5rem;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.10), transparent 30%), radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 30%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.tsh-404__wrap {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.tsh-404__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tsh-404__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: #0f172a;
    font-weight: 800;
}

.tsh-404__lead {
    max-width: 720px;
    margin: 0 auto 1.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
}

.tsh-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tsh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

    .tsh-btn:hover {
        transform: translateY(-1px);
    }

.tsh-btn--primary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

    .tsh-btn--primary:hover {
        background: #111827;
        color: #ffffff;
    }

.tsh-btn--secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}

    .tsh-btn--secondary:hover {
        background: #f8fafc;
        color: #0f172a;
    }

.tsh-404__search {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: left;
}

.tsh-404__label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.tsh-404__searchbar {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.tsh-404__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
    padding: 0 0.25rem;
}

    .tsh-404__input::placeholder {
        color: #94a3b8;
    }

.tsh-404__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tsh-404__card {
    text-align: left;
    padding: 1.25rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

    .tsh-404__card h2 {
        margin: 0.5rem 0 0.65rem;
        font-size: 1.2rem;
        line-height: 1.3;
        color: #0f172a;
    }

    .tsh-404__card p {
        margin: 0 0 0.9rem;
        color: #475569;
        line-height: 1.6;
    }

    .tsh-404__card a {
        color: #0f766e;
        font-weight: 700;
        text-decoration: none;
    }

        .tsh-404__card a:hover {
            text-decoration: underline;
        }

.tsh-card__kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
}

.tsh-404__hint {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

    .tsh-404__hint span {
        color: #0f172a;
        font-weight: 600;
        word-break: break-word;
    }

@media (max-width: 900px) {
    .tsh-404__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tsh-404 {
        padding: 3rem 1rem 4rem;
    }

    .tsh-404__lead {
        font-size: 1rem;
    }

    .tsh-404__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tsh-404__searchbar {
        flex-direction: column;
        border-radius: 16px;
    }

    .tsh-btn {
        width: 100%;
    }
}
