/* Кнопка Soft (.botao) — иконка + раскрывающийся текст, палитра ASAITech */
@keyframes soft-botao-bounce {
    0%,
    50%,
    100% {
        transform: translateY(0);
    }
    25%,
    75% {
        transform: translateY(4px);
    }
}

a.botao,
button.botao,
a.soft-btn.botao {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, #008f7f 0%, #00b89a 50%, #00e5d4 100%);
    box-shadow:
        0 4px 16px rgba(0, 200, 180, 0.5),
        0 0 12px rgba(0, 255, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition:
        width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease,
        background 0.35s ease;
    z-index: 1;
}

a.botao:hover,
button.botao:hover,
a.soft-btn.botao:hover {
    width: 118px;
    padding: 0 14px 0 10px;
    justify-content: flex-start;
    border-radius: 50px;
    background: linear-gradient(135deg, #00b89a 0%, #00d4c4 45%, #64ffda 100%);
    box-shadow:
        0 6px 24px rgba(0, 230, 210, 0.55),
        0 0 16px rgba(0, 255, 235, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    color: #fff;
}

a.botao:active,
button.botao:active,
a.soft-btn.botao:active {
    transform: scale(0.97);
}

.botao .mysvg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.35s ease;
}

.botao .mysvg path {
    stroke: #f1f1f1;
    transition: stroke 0.3s ease;
}

.botao:hover .mysvg {
    animation: soft-botao-bounce 0.85s ease-out;
}

.botao .texto {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    transition:
        max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease 0.05s,
        margin 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.botao:hover .texto {
    max-width: 96px;
    opacity: 1;
    margin-left: 10px;
}

.site-footer .botao {
    vertical-align: middle;
}

[data-theme="dark"] a.botao,
[data-theme="dark"] a.soft-btn.botao {
    border-color: rgba(77, 182, 172, 0.45);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.45),
        0 0 12px rgba(0, 158, 142, 0.25);
}

[data-theme="dark"] a.botao:hover,
[data-theme="dark"] a.soft-btn.botao:hover {
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(77, 182, 172, 0.35);
}
