/* ===== Общие стили (используются на нескольких страницах) ===== */

/* Бейдж с номером: back-круг + круг с цифрой */
.item__badge {
    position: relative;
    flex: 0 0 auto;
    width: 72px;
    height: 60px;
    align-self: flex-start;
    transform: translateY(12px);
}

.item__badge.not_up {
    transform: translateY(0px);
}

.item__badge-back {
    position: absolute;
    left: 0;
    top: 30%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0A61AE;
    z-index: 1;
}

.item__badge-num {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-bg);
    background: radial-gradient(circle at 0% 00%, #0A61AE 0%, #d9e2f3 75%, #1e2ebc00 100%);
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    z-index: 2;
}
a.mail {
    color: var(--color-text-accent);
    text-decoration: underline;
    font-weight: 600;
}

/* ===== Кнопки (общий примитив блоков section.ways / section.tabs / section.columns) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 1rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn__icon,
.btn__arrow {
    display: inline-flex;
    flex: 0 0 auto;
}

.btn__icon svg {
    width: 1.25em;
    height: 1.25em;
}

.btn--primary {
    background: linear-gradient(90deg, #1668b8 0%, #34c9a5 100%);
    color: var(--color-text-light);
    box-shadow: 0 6px 16px rgb(22 104 184 / 25%);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    filter: brightness(1.05);
    box-shadow: 0 8px 20px rgb(22 104 184 / 32%);
    transform: translateY(1px) scale(0.99);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text-accent);
    box-shadow: inset 0 0 0 2px #008f9f4d;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: #008f9f14;
    box-shadow: inset 0 0 0 2px #008f9f;
}