.section-anchor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
}

.section-anchor-grid--compact {
    margin: 0.25rem 0 0.75rem;
}

.section-anchor-grid--left {
    justify-content: flex-start;
}

.section-nav {
    margin: 1.5rem 0 2rem;
}

.section-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    min-height: 46px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #7f4d5a, #d08aa1);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(127, 77, 90, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.section-anchor:hover,
.section-anchor:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(127, 77, 90, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.section-anchor i,
.section-anchor .section-anchor__label {
    color: inherit;
}

.section-anchor__label {
    font-size: 0.95rem;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: clamp(1.6rem, 1.35rem + 0.8vw, 2.1rem);
    font-weight: 600;
    margin: 0 0 0.85rem;
    color: #7f4d5a;
}

.section-heading__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: rgba(127, 77, 90, 0.12);
    color: #7f4d5a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.section-back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    background: #d8a9b4;
    color: #2f1b25;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 12px 26px rgba(33, 16, 23, 0.35);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

@media (max-width: 575.98px) {
    .section-heading {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .section-heading__icon {
        margin-bottom: 0.2rem;
    }
}

.section-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: var(--ameyze-primary);
    color: var(--ameyze-bg-white);
}

.section-back-to-top i {
    font-size: 1rem;
}

.section-back-to-top:hover,
.section-back-to-top:focus-visible {
    background: #6b3d4a;
    color: var(--ameyze-bg-white);
}
